From: Mingkai Hu Date: Tue, 8 Sep 2009 07:07:12 +0000 (+0800) Subject: mkconfig: pass the board name to board config file X-Git-Tag: v2010.09-rc1~1^2~19^2~42^2~135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f587fed25c6db179b35f90b40784851c2ca0195d;p=platform%2Fkernel%2Fu-boot.git 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 --- 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