Skip to contentSkip to conversation

Makefile: drop imx31_phycore from general Makefile

PATCH New Stefano Babic 3 participants 5 messages Aug 30, 2011 – Oct 5, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Makefile: drop imx31_phycore from general Makefile

---
 Makefile   |    8 --------
 boards.cfg |    2 ++
 2 files changed, 2 insertions(+), 8 deletions(-)
Makefile +0 -8
index 3b52c68..fec662b 100644
@@ -896,14 +896,6 @@ apollon_config		: unconfig
 	@echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
 	@$(MKCONFIG) $@ arm arm1136 apollon - omap24xx
 
-imx31_phycore_eet_config \
-imx31_phycore_config	: unconfig
-	@mkdir -p $(obj)include
-	@if [ -n "$(findstring _eet_,$@)" ]; then			\
-		echo "#define CONFIG_IMX31_PHYCORE_EET" >> $(obj)include/config.h;	\
-	fi
-	@$(MKCONFIG) -n $@ -a imx31_phycore arm arm1136 imx31_phycore - mx31
-
 mx31pdk_config \
 mx31pdk_nand_config	: unconfig
 	@mkdir -p $(obj)include
boards.cfg +2 -0
index 3cd35d7..fc8ca0a 100644
@@ -39,6 +39,8 @@ integratorcp_cm1136          arm         arm1136     integrator          armltd
 qong                         arm         arm1136     -                   davedenx       mx31
 mx31ads                      arm         arm1136     -                   freescale      mx31
 imx31_litekit                arm         arm1136     -                   logicpd        mx31
+imx31_phycore                arm         arm1136     -                   -              mx31
+imx31_phycore_eet            arm         arm1136     imx31_phycore       -              mx31         imx31_phycore:IMX31_PHYCORE_EET
 mx35pdk                      arm         arm1136     -                   freescale      mx35
 omap2420h4                   arm         arm1136     -                   ti             omap24xx
 tnetv107x_evm                arm         arm1176     tnetv107xevm        ti             tnetv107x
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/2 Makefile: remove mx31pdk exception

An entry in the main Makefile for the mx31pdk board is not necessary, and the board is added to boards.cfg as all other targets.

---
 Makefile   |   10 ----------
 boards.cfg |    2 ++
 2 files changed, 2 insertions(+), 10 deletions(-)
Makefile +0 -10
index fec662b..71e2d87 100644
@@ -896,16 +896,6 @@ apollon_config		: unconfig
 	@echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
 	@$(MKCONFIG) $@ arm arm1136 apollon - omap24xx
 
-mx31pdk_config \
-mx31pdk_nand_config	: unconfig
-	@mkdir -p $(obj)include
-	@if [ -n "$(findstring _nand_,$@)" ]; then					\
-		echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h;		\
-	else										\
-		echo "#define CONFIG_SKIP_LOWLEVEL_INIT" >> $(obj)include/config.h;	\
-	fi
-	@$(MKCONFIG) -n $@ -a mx31pdk arm arm1136 mx31pdk freescale mx31
-
 #########################################################################
 ## ARM1176 Systems
 #########################################################################
boards.cfg +2 -0
index fc8ca0a..9f8434a 100644
@@ -41,6 +41,8 @@ mx31ads                      arm         arm1136     -                   freesca
 imx31_litekit                arm         arm1136     -                   logicpd        mx31
 imx31_phycore                arm         arm1136     -                   -              mx31
 imx31_phycore_eet            arm         arm1136     imx31_phycore       -              mx31         imx31_phycore:IMX31_PHYCORE_EET
+mx31pdk_nand                 arm         arm1136     mx31pdk             freescale      mx31         mx31pdk:NAND_U_BOOT
+mx31pdk                      arm         arm1136     -                   freescale      mx31         mx31pdk:SKIP_LOWLEVEL_INIT
 mx35pdk                      arm         arm1136     -                   freescale      mx35
 omap2420h4                   arm         arm1136     -                   ti             omap24xx
 tnetv107x_evm                arm         arm1176     tnetv107xevm        ti             tnetv107x
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 Makefile: remove mx31pdk exception

Hi Wolfgang,

Quoted 10 lines · Stefano Babic

An entry in the main Makefile for the mx31pdk board is not necessary, and the board is added to boards.cfg as all other targets.

---
?Makefile ? | ? 10 ----------
?boards.cfg | ? ?2 ++
?2 files changed, 2 insertions(+), 10 deletions(-)

Any issue with this patch? I haven't seen it applied yet.

Regards,

Fabio Estevam

#4 lore raw

PATCH 1/2 Makefile: drop imx31_phycore from general Makefile

In reply to Stefano Babic

Dear Stefano Babic,

Quoted 5 lines · In message <[email protected]> you wrote:
---
 Makefile   |    8 --------
 boards.cfg |    2 ++
 2 files changed, 2 insertions(+), 8 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 7 lines
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: wd at denx.de
If a packet hits a pocket on a socket on a port,
And the bus is interrupted as a very last resort,
And the address of the memory makes your floppy disk abort,
Then the socket packet pocket has an error to report! - Ken Burchill?
#3 lore raw

PATCH 2/2 Makefile: remove mx31pdk exception

In reply to Stefano Babic

Dear Stefano Babic,

Quoted 10 lines · In message <[email protected]> you wrote:

An entry in the main Makefile for the mx31pdk board is not necessary, and the board is added to boards.cfg as all other targets.

---
 Makefile   |   10 ----------
 boards.cfg |    2 ++
 2 files changed, 2 insertions(+), 10 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
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: wd at denx.de
Marriage is the sole cause of divorce.