diff options
author | Mingkai Hu <Mingkai.hu@freescale.com> | 2009-09-08 15:07:12 +0800 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-10 22:56:55 +0200 |
commit | 511c02f611cb5afa1b8ca5980caaaabaa0de377f (patch) | |
tree | da9d3374348a6964d82dcdf66e57789e49e14ecf /mkconfig | |
parent | d640ac58dbf61c769864b3fe76314306b7336cf1 (diff) | |
download | u-boot-511c02f611cb5afa1b8ca5980caaaabaa0de377f.zip u-boot-511c02f611cb5afa1b8ca5980caaaabaa0de377f.tar.gz u-boot-511c02f611cb5afa1b8ca5980caaaabaa0de377f.tar.bz2 |
mkconfig: pass the board name to board config file
Then we can handle different config targets in the board file, which
simplifies the top level Makefile for boards that have multiple
config targets.
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Diffstat (limited to 'mkconfig')
-rwxr-xr-x | mkconfig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -82,6 +82,7 @@ else > config.h # Create new config file fi echo "/* Automatically generated - do not edit */" >>config.h +echo "#define CONFIG_MK_${BOARD_NAME} 1" >>config.h echo "#include <configs/$1.h>" >>config.h echo "#include <asm/config.h>" >>config.h |