Fixup native builds on powerpc
PATCH 1/1 Fixup native builds on powerpc
When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the same way. We use HOSTARCH == ARCH to determine if a build is native.
--- Makefile | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
Makefile +2 -3
@@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ \ -e s/sa110/arm/ \ - -e s/powerpc/ppc/ \ - -e s/ppc64/ppc/ \ - -e s/macppc/ppc/) + -e s/ppc64/powerpc/ \ + -e s/macppc/powerpc/) HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ sed -e 's/\(cygwin\).*/cygwin/')
Signature · 1 line
1.6.0.6
PATCH 1/1 Fixup native builds on powerpc
Quoted 13 lines · Kumar Gala
When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the same way. We use HOSTARCH == ARCH to determine if a build is native.
Signed-off-by Kumar Gala <[email protected]>--- Makefile | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)Makefile +0
-0
Makefile HOSTARCH := $(shell uname -m | \ · line 42
Quoted 8 lines
Makefile +2
-3@@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ \ -e s/sa110/arm/ \ - -e s/powerpc/ppc/ \ - -e s/ppc64/ppc/ \ - -e s/macppc/ppc/) + -e s/ppc64/powerpc/ \ + -e s/macppc/powerpc/)
We need s/ppc/powerpc/ as well (even on an ARCH=powerpc kernel, it seems).
-Scott
PATCH 1/1 Fixup native builds on powerpc
Quoted 9 lines · Scott Wood
Quoted 8 lines · Kumar Gala
When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the same way. We use HOSTARCH == ARCH to determine if a build is native.
Signed-off-by Kumar Gala <[email protected]>---
Makefile| 5 ++---1 files changed, 2 insertions(+), 3 deletions(-)
Quoted 15 lines
Makefile HOSTARCH := $(shell uname -m | \ · line 42
Quoted 13 lines
Makefile +2
-3@@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ \ -e s/sa110/arm/ \ - -e s/powerpc/ppc/ \ - -e s/ppc64/ppc/ \ - -e s/macppc/ppc/) + -e s/ppc64/powerpc/ \ + -e s/macppc/powerpc/)We need s/ppc/powerpc/ as well (even on an ARCH=powerpc kernel, it seems).
Under what environment? Got no issue to add it just wondering if it shows up somewhere.
- k
PATCH 1/1 Fixup native builds on powerpc
Quoted 26 lines · Kumar Gala
Quoted 9 lines · Scott Wood
Quoted 8 lines · Kumar Gala
When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the same way. We use HOSTARCH == ARCH to determine if a build is native.
Signed-off-by Kumar Gala <[email protected]>---
Makefile| 5 ++---1 files changed, 2 insertions(+), 3 deletions(-)Quoted 14 lines
Makefile HOSTARCH := $(shell uname -m | \ · line 42
Quoted 13 lines
Makefile +2
-3@@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ \ -e s/sa110/arm/ \ - -e s/powerpc/ppc/ \ - -e s/ppc64/ppc/ \ - -e s/macppc/ppc/) + -e s/ppc64/powerpc/ \ + -e s/macppc/powerpc/)We need s/ppc/powerpc/ as well (even on an ARCH=powerpc kernel, it seems).
Quoted 1 line
Under what environment? Got no issue to add it just wondering if it shows up somewhere.
Current Linux. UTS_MACHINE is set to $(OLDARCH) in arch/powerpc/Makefile, which is ppc or ppc64. I booted a p4080 kernel and did uname -m to verify.
-Scott