Skip to content
Snippets Groups Projects
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 <Mingkai.hu@freescale.com>
parent d640ac58
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment