From: Mingkai Hu Date: Tue, 8 Sep 2009 15:07:13 +0800 Subject: [U-Boot] [PATCH v2 2/2] mpc8536: simplify the top makefile for 36-bit config In-Reply-To: <1252393633-14949-1-git-send-email-Mingkai.hu@freescale.com> References: <1252393633-14949-1-git-send-email-Mingkai.hu@freescale.com> Message-ID: <1252393633-14949-2-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 Signed-off-by: Mingkai Hu --- Makefile | 4 +--- include/configs/MPC8536DS.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0449a5b..901a336 100644 --- a/Makefile +++ b/Makefile @@ -2444,9 +2444,7 @@ ATUM8548_config: unconfig MPC8536DS_36BIT_config \ MPC8536DS_config: unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h - @$(MKCONFIG) -a MPC8536DS ppc mpc85xx mpc8536ds freescale + @$(MKCONFIG) -n $(@:_config=) MPC8536DS ppc mpc85xx mpc8536ds freescale MPC8540ADS_config: unconfig @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h index 4746e2e..6018858 100644 --- a/include/configs/MPC8536DS.h +++ b/include/configs/MPC8536DS.h @@ -27,7 +27,7 @@ #ifndef __CONFIG_H #define __CONFIG_H -#ifdef CONFIG_MPC8536DS_36BIT +#ifdef CONFIG_MK_MPC8536DS_36BIT #define CONFIG_PHYS_64BIT 1 #endif -- 1.6.4