@ -147,6 +147,13 @@ SUBDIRS = tools \
i f e q ( $( obj ) i n c l u d e / c o n f i g . m k , $( wildcard $ ( obj ) include /config .mk ) )
i f e q ( $( obj ) i n c l u d e / c o n f i g . m k , $( wildcard $ ( obj ) include /config .mk ) )
# Include autoconf.mk before config.mk so that the config options are available
# to all top level build files. We need the dummy all: target to prevent the
# dependency target in autoconf.mk.dep from being the default.
all :
s i n c l u d e $( obj ) i n c l u d e / a u t o c o n f . m k . d e p
s i n c l u d e $( obj ) i n c l u d e / a u t o c o n f . m k
# load ARCH, BOARD, and CPU configuration
# load ARCH, BOARD, and CPU configuration
i n c l u d e $( obj ) i n c l u d e / c o n f i g . m k
i n c l u d e $( obj ) i n c l u d e / c o n f i g . m k
export ARCH CPU BOARD VENDOR SOC
export ARCH CPU BOARD VENDOR SOC
@ -440,9 +447,6 @@ $(obj)include/autoconf.mk: $(obj)include/config.h
sed -n -f tools/scripts/define2mk.sed > $@ .tmp && \
sed -n -f tools/scripts/define2mk.sed > $@ .tmp && \
mv $@ .tmp $@
mv $@ .tmp $@
s i n c l u d e $( obj ) i n c l u d e / a u t o c o n f . m k . d e p
s i n c l u d e $( obj ) i n c l u d e / a u t o c o n f . m k
#########################################################################
#########################################################################
e l s e # !config.mk
e l s e # !config.mk
a l l $( obj ) u - b o o t . h e x $( obj ) u - b o o t . s r e c $( obj ) u - b o o t . b i n \
a l l $( obj ) u - b o o t . h e x $( obj ) u - b o o t . s r e c $( obj ) u - b o o t . b i n \