mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-23 15:27:52 +00:00
include: define CONFIG_SPL and CONFIG_TPL as 1
We are about to switch to Kconfig in the next commit. But there are something to get done beforehand. In Kconfig, include/generated/autoconf.h defines boolean CONFIG macros as 1. CONFIG_SPL and CONFIG_TPL, if defined, must be set to 1. Otherwise, when switching to Kconfig, the build log would be sprinkled with warning messages like this: warning: "CONFIG_SPL" redefined [enabled by default] Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
516312598a
commit
4ce9957029
56 changed files with 69 additions and 69 deletions
|
@ -40,7 +40,7 @@ COBJS-$(CONFIG_SPL_BUILD) += foo.o
|
|||
|
||||
The building of SPL images can be with:
|
||||
|
||||
#define CONFIG_SPL
|
||||
#define CONFIG_SPL 1
|
||||
|
||||
Because SPL images normally have a different text base, one has to be
|
||||
configured by defining CONFIG_SPL_TEXT_BASE. The linker script has to be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue