Uncomment ppc/ppc64->powerpc code in set_kernel_arch, since it appears to actually...
authorAndrew Gaffney <agaffney@gentoo.org>
Sun, 30 Mar 2008 23:27:03 +0000 (23:27 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Sun, 30 Mar 2008 23:27:03 +0000 (23:27 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@660 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
gen_arch.sh

index e5570ca8007c5bf57f6a10d44d6467763cbe0b9f..ddcb219e7667967730b852dc01e026bb206d5e46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  30 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> 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 <agaffney@gentoo.org>
   +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
index 5dd5c6bad0fcbad2d502e6b51badf354889b0194..387da50019cf91b689bf749d9d58eb422f35e432 100755 (executable)
@@ -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