mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
d640ac58db
commit
511c02f611
1 changed files with 1 additions and 0 deletions
1
mkconfig
1
mkconfig
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue