From: Mingkai Hu Date: Tue, 8 Sep 2009 15:07:12 +0800 Subject: [U-Boot] [PATCH v1 1/2] mkconfig: pass the board name to board config file Message-ID: <1252393633-14949-1-git-send-email-Mingkai.hu@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de then we can handle the different config target in the board file, which simplify the top makefile for board that have multiple config targets. Signed-off-by: Mingkai Hu --- mkconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/mkconfig b/mkconfig index b0bbbd1..9efd2fa 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 -- 1.6.4