Commit 511c02f6 authored by Mingkai Hu's avatar Mingkai Hu Committed by Wolfgang Denk
Browse files

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: default avatarMingkai Hu <>
parent d640ac58
......@@ -82,6 +82,7 @@ else
> config.h # Create new config file
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment