mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
mkconfig: include board config.h before asm/config.h
swapping the include order suppresses warnings for board configs
that define their own CONFIG_MAX_MEM_MAPPED:
In file included from /home/r1aaha/git/u-boot/include/config.h:5,
from /home/r1aaha/git/u-boot/include/common.h:35,
from simpc8313.c:26:
/home/r1aaha/git/u-boot/include/configs/SIMPC8313.h:81:1: warning:
"CONFIG_MAX_MEM_MAPPED" redefined
In file included from /home/r1aaha/git/u-boot/include/config.h:4,
from /home/r1aaha/git/u-boot/include/common.h:35,
from simpc8313.c:26:
/home/r1aaha/git/u-boot/include/asm/config.h:28:1: warning: this is
the location of the previous definition
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
parent
b8845abdc0
commit
7b0bc0219d
1 changed files with 1 additions and 1 deletions
2
mkconfig
2
mkconfig
|
|
@ -82,7 +82,7 @@ else
|
|||
> config.h # Create new config file
|
||||
fi
|
||||
echo "/* Automatically generated - do not edit */" >>config.h
|
||||
echo "#include <asm/config.h>" >>config.h
|
||||
echo "#include <configs/$1.h>" >>config.h
|
||||
echo "#include <asm/config.h>" >>config.h
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue