From 80b3557d0bb19a0ebfe6274b59582842c50a597f Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Sun, 30 Mar 2008 23:27:03 +0000 Subject: [PATCH] Uncomment ppc/ppc64->powerpc code in set_kernel_arch, since it appears to actually be necessary as of 2.6.24-gentoo-r4 git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@660 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- ChangeLog | 4 ++++ gen_arch.sh | 19 +++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index e5570ca..ddcb219 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 30 Mar 2008; Andrew Gaffney gen_arch.sh: + Uncomment ppc/ppc64->powerpc code in set_kernel_arch, since it appears to + actually be necessary as of 2.6.24-gentoo-r4 + 29 Mar 2008; Andrew Gaffney +patches/busybox/1.7.4/busybox-1.7.4-signal-hack.patch: Add patch from ebuild in-tree to fix build issue with signals on hppa diff --git a/gen_arch.sh b/gen_arch.sh index 5dd5c6b..387da50 100755 --- a/gen_arch.sh +++ b/gen_arch.sh @@ -46,16 +46,15 @@ get_official_arch() { set_kernel_arch() { KERNEL_ARCH=${ARCH} case ${ARCH} in -# XXX: This doesn't seem to actually be necessary, as it still works just fine without it -# ppc|ppc64) -# if [ "${VER}" -eq "2" -a "${PAT}" -ge "6" ] -# then -# if [ "${PAT}" -eq "6" -a "${SUB}" -ge "16" ] || [ "${PAT}" -gt "6" ] -# then -# KERNEL_ARCH=powerpc -# fi -# fi -# ;; + ppc|ppc64) + if [ "${VER}" -eq "2" -a "${PAT}" -ge "6" ] + then + if [ "${PAT}" -eq "6" -a "${SUB}" -ge "16" ] || [ "${PAT}" -gt "6" ] + then + KERNEL_ARCH=powerpc + fi + fi + ;; x86) if [ "${VER}" -eq "2" -a "${PAT}" -ge "6" ] || [ "${VER}" -gt "2" ] then -- 2.26.2