mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
include autoconf.mk before any other .mk files
This bumps the autoconf.mk include step above board/cpu/arch/etc... so that those .mk files can have make if statements based on the current config. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
16fe77752e
commit
755c35f54b
1 changed files with 3 additions and 3 deletions
|
@ -69,6 +69,9 @@ PLATFORM_CPPFLAGS+= -D__ARM__
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Load generated board configuration
|
||||||
|
sinclude $(OBJTREE)/include/autoconf.mk
|
||||||
|
|
||||||
ifdef ARCH
|
ifdef ARCH
|
||||||
sinclude $(TOPDIR)/$(ARCH)_config.mk # include architecture dependend rules
|
sinclude $(TOPDIR)/$(ARCH)_config.mk # include architecture dependend rules
|
||||||
endif
|
endif
|
||||||
|
@ -87,9 +90,6 @@ ifdef BOARD
|
||||||
sinclude $(TOPDIR)/board/$(BOARDDIR)/config.mk # include board specific rules
|
sinclude $(TOPDIR)/board/$(BOARDDIR)/config.mk # include board specific rules
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Load generated board configuration
|
|
||||||
sinclude $(OBJTREE)/include/autoconf.mk
|
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue