Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 93500 Details for
Bug 142339
linux kernel powerpc has braindead `uname -m` code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
first try
linux-powerpc-defconfigs.patch (text/plain), 558 bytes, created by
Luca Barbato
on 2006-08-05 05:57:58 UTC
(
hide
)
Description:
first try
Filename:
MIME Type:
Creator:
Luca Barbato
Created:
2006-08-05 05:57:58 UTC
Size:
558 bytes
patch
obsolete
>--- linux.prev/arch/powerpc/Makefile 2006-07-19 22:07:46.000000000 +0200 >+++ linux/arch/powerpc/Makefile 2006-08-05 13:33:26.000000000 +0200 >@@ -33,7 +33,15 @@ > > export CROSS32CC CROSS32AS CROSS32LD CROSS32OBJCOPY > >-KBUILD_DEFCONFIG := $(shell uname -m)_defconfig >+ifeq ($(CROSS_COMPILE),) >+KBUILD_DEFCONFIG := $(shell uname -m | sed -e s/^ppc$/pmac32/ )_defconfig >+else >+ifneq ($(findstring 64,$(CROSS_COMPILE)),) >+KBUILD_DEFCONFIG := ppc64_defconfig >+else >+KBUILD_DEFCONFIG := pmac32_defconfig >+endif >+endif > > ifeq ($(CONFIG_PPC64),y) > OLDARCH := ppc64
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 142339
:
93149
|
93150
|
93500
|
93529
|
94758
|
94759