Re: [U-Boot] [PATCH v1 1/2] mkconfig: pass the board name to board config file
Dear Mingkai Hu, In message 1252393633-14949-1-git-send-email-mingkai...@freescale.com you wrote: 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 mingkai...@freescale.com --- mkconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Women are more easily and more deeply terrified ... generating more sheer horror than the male of the species. -- Spock, Wolf in the Fold, stardate 3615.4 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v1 1/2] mkconfig: pass the board name to board config file
On Sep 8, 2009, at 2:07 AM, Mingkai Hu wrote: 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 mingkai...@freescale.com --- mkconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Wolfgang, I'll pick up the second patch once you apply this one. - k 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 configs/$1.h config.h echo #include asm/config.h config.h -- 1.6.4 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot