diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-18 10:24:13 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-22 11:34:27 (GMT) |
commit | 755c35f54ba7eb7687aa7935e04a02a01ef1b27b (patch) | |
tree | 5fc5158ee3823ddccd703eb7122549adb56e1e3b /config.mk | |
parent | 16fe77752eee099b9fb61ed73460e51cc94b37ba (diff) | |
download | u-boot-755c35f54ba7eb7687aa7935e04a02a01ef1b27b.tar.xz |
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>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -69,6 +69,9 @@ PLATFORM_CPPFLAGS+= -D__ARM__ endif endif +# Load generated board configuration +sinclude $(OBJTREE)/include/autoconf.mk + ifdef ARCH sinclude $(TOPDIR)/$(ARCH)_config.mk # include architecture dependend rules endif @@ -87,9 +90,6 @@ ifdef BOARD sinclude $(TOPDIR)/board/$(BOARDDIR)/config.mk # include board specific rules endif -# Load generated board configuration -sinclude $(OBJTREE)/include/autoconf.mk - ######################################################################### CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ |