Patchwork [U-Boot,v2] MAKEALL: fix per arch board lists

login
register
mail settings
Submitter Allen Martin
Date Aug. 29, 2012, 9:08 p.m.
Message ID <1346274539-8258-1-git-send-email-amartin@nvidia.com>
Download mbox | patch
Permalink /patch/180771/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Allen Martin - Aug. 29, 2012, 9:08 p.m.
The LIST_arm rule included the Atmel boards twice (by virtue of
including both LIST_at91 and LIST_ARM9) and was missing all the
arm720t, arm946es, and arm1176 boards.  Change this list to use
boards_by_arch() which is less error prone.  After this change
"./MAKEALL arm" and "./MAKEALL -a arm" build the same boards.

Also fix up some missing and duplicate boards to arm, mips, and m68k.

Signed-off-by: Allen Martin <amartin@nvidia.com>
---
 MAKEALL |   34 +++++++++++++++-------------------
 1 file changed, 15 insertions(+), 19 deletions(-)
Tom Rini - Aug. 30, 2012, 6:06 p.m.
On Wed, Aug 29, 2012 at 02:08:59PM -0700, Allen Martin wrote:

> The LIST_arm rule included the Atmel boards twice (by virtue of
> including both LIST_at91 and LIST_ARM9) and was missing all the
> arm720t, arm946es, and arm1176 boards.  Change this list to use
> boards_by_arch() which is less error prone.  After this change
> "./MAKEALL arm" and "./MAKEALL -a arm" build the same boards.
> 
> Also fix up some missing and duplicate boards to arm, mips, and m68k.
> 
> Signed-off-by: Allen Martin <amartin@nvidia.com>

Thanks!

Acked-by: Tom Rini <trini@ti.com>
Tom Rini - Sept. 25, 2012, 8:29 p.m.
On Wed, Aug 29, 2012 at 02:08:59PM -0700, Allen Martin wrote:

> The LIST_arm rule included the Atmel boards twice (by virtue of
> including both LIST_at91 and LIST_ARM9) and was missing all the
> arm720t, arm946es, and arm1176 boards.  Change this list to use
> boards_by_arch() which is less error prone.  After this change
> "./MAKEALL arm" and "./MAKEALL -a arm" build the same boards.
> 
> Also fix up some missing and duplicate boards to arm, mips, and m68k.
> 
> Signed-off-by: Allen Martin <amartin@nvidia.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/MAKEALL b/MAKEALL
index 6b9ff30..24d4fff 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -331,18 +331,27 @@  LIST_ppc="		\
 LIST_SA="$(boards_by_cpu sa1100)"
 
 #########################################################################
+## ARM7 Systems
+#########################################################################
+
+LIST_ARM7="$(boards_by_cpu arm720t)"
+
+#########################################################################
 ## ARM9 Systems
 #########################################################################
 
 LIST_ARM9="$(boards_by_cpu arm920t)	\
 	$(boards_by_cpu arm926ejs)	\
 	$(boards_by_cpu arm925t)	\
+	$(boards_by_cpu arm946es)	\
 "
 
 #########################################################################
 ## ARM11 Systems
 #########################################################################
-LIST_ARM11="$(boards_by_cpu arm1136)"
+LIST_ARM11="$(boards_by_cpu arm1136)	\
+	$(boards_by_cpu arm1176)	\
+"
 
 #########################################################################
 ## ARMV7 Systems
@@ -368,16 +377,7 @@  LIST_ixp="$(boards_by_cpu ixp)"
 ## ARM groups
 #########################################################################
 
-LIST_arm="			\
-	${LIST_SA}		\
-	${LIST_ARM9}		\
-	${LIST_ARM10}		\
-	${LIST_ARM11}		\
-	${LIST_ARMV7}	\
-	${LIST_at91}		\
-	${LIST_pxa}		\
-	${LIST_ixp}		\
-"
+LIST_arm="$(boards_by_arch arm)"
 
 #########################################################################
 ## MIPS Systems		(default = big endian)
@@ -385,6 +385,9 @@  LIST_arm="			\
 
 LIST_mips4kc="		\
 	incaip		\
+	incaip_100MHz	\
+	incaip_133MHz	\
+	incaip_150MHz	\
 	qemu_mips	\
 	vct_platinum	\
 	vct_platinum_small	\
@@ -458,14 +461,7 @@  LIST_microblaze="$(boards_by_arch microblaze)"
 ## ColdFire Systems
 #########################################################################
 
-LIST_m68k="$(boards_by_arch m68k)
-	EB+MCF-EV123		\
-	EB+MCF-EV123_internal	\
-	M52277EVB		\
-	M5235EVB		\
-	M54451EVB		\
-	M54455EVB		\
-"
+LIST_m68k="$(boards_by_arch m68k)"
 LIST_coldfire=${LIST_m68k}
 
 #########################################################################