Skip to contentSkip to conversation

Set HOSTARCH on ppc64 system

PATCH New Amos Waterland 2 participants 2 messages Mar 21, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Set HOSTARCH on ppc64 system

This is necessary to native build u-boot on a ppc64 system.

---

 Makefile |    1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index f301640..027b347 100644
@@ -34,6 +34,7 @@ HOSTARCH := $(shell uname -m | \
 	    -e s/arm.*/arm/ \
 	    -e s/sa110/arm/ \
 	    -e s/powerpc/ppc/ \
+	    -e s/ppc64/ppc/ \
 	    -e s/macppc/ppc/)
 
 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
#1 lore raw

PATCH 1/1 Set HOSTARCH on ppc64 system

Quoted 14 lines · Amos Waterland

This is necessary to native build u-boot on a ppc64 system.

---

Makefile | 1 +

1 file changed, 1 insertion(+)
Makefile +0 -0
index f301640..027b347 100644

Makefile HOSTARCH := $(shell uname -m | \ · line 38

Quoted 5 lines
Makefile +1 -0
@@ -34,6 +34,7 @@ HOSTARCH := $(shell uname -m | \
 	    -e s/arm.*/arm/ \
 	    -e s/sa110/arm/ \
 	    -e s/powerpc/ppc/ \
+	    -e s/ppc64/ppc/ \
 	    -e s/macppc/ppc/)

Amos, you're using an old version of u-boot. We already have this change in the latest version.

- k