Commit 001f3142c30c35493c57268bd49a4f87f8da9f0d
Committed by
Tom Rini
1 parent
1fbf97dc45
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
Makefile: Provide an option to select SPL or TPL
At present we have SPL_ which can be used in Makefiles to select between normal and SPL CONFIGs like this: obj-$(CONFIG_$(SPL_)DM) += core/ When TPL is being built, SPL_ has the value 'SPL' which is generally a good idea since they tend to follow each other. But in extreme situations we may want to distinugish between SPL and TPL. For example we may not want to enable CONFIG_DM with TPL. Add a new SPL_TPL_ variable which is set to either empty (for U-Boot proper), 'SPL' or 'TPL'. This may prove useful with TPL-specific options. Signed-off-by: Simon Glass <sjg@chromium.org>
Showing 2 changed files with 12 additions and 0 deletions Side-by-side Diff
scripts/Kbuild.include
scripts/Makefile.spl