From 511c02f611cb5afa1b8ca5980caaaabaa0de377f Mon Sep 17 00:00:00 2001 From: Mingkai Hu Date: Tue, 8 Sep 2009 15:07:12 +0800 Subject: 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 --- mkconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'mkconfig') diff --git a/mkconfig b/mkconfig index b0bbbd1e7f..9efd2fa7db 100755 --- a/mkconfig +++ b/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 " >>config.h echo "#include " >>config.h -- cgit v1.2.1