diff options
author | Simon Glass | 2017-04-02 09:50:30 -0600 |
---|---|---|
committer | Tom Rini | 2017-04-05 16:36:58 -0400 |
commit | 001f3142c30c35493c57268bd49a4f87f8da9f0d (patch) | |
tree | dfb79699883072508fde67014eda9595761acff2 /tools/pblimage.c | |
parent | 1fbf97dc45463dbf463a33642631a914c2aeae05 (diff) |
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>
Diffstat (limited to 'tools/pblimage.c')
0 files changed, 0 insertions, 0 deletions