diff options
author | Mingkai Hu <Mingkai.hu@freescale.com> | 2009-09-08 15:07:12 +0800 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-10-03 09:04:19 -0500 |
commit | f587fed25c6db179b35f90b40784851c2ca0195d (patch) | |
tree | 1c633731cdbff02c175534c5f21c55fceeffff7a /mkconfig | |
parent | 8b142ab08b0e7a7eb491c620a3f3870d24327c10 (diff) | |
download | u-boot-imx-f587fed25c6db179b35f90b40784851c2ca0195d.zip u-boot-imx-f587fed25c6db179b35f90b40784851c2ca0195d.tar.gz u-boot-imx-f587fed25c6db179b35f90b40784851c2ca0195d.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 |