diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2008-03-30 23:27:03 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2008-03-30 23:27:03 +0000 |
commit | 80b3557d0bb19a0ebfe6274b59582842c50a597f (patch) | |
tree | 1e0f6320ce803d56fb4aa708e8ddc14895f8a3dc /gen_arch.sh | |
parent | Add patch from ebuild in-tree to fix build issue with signals on hppa (diff) | |
download | genkernel-80b3557d0bb19a0ebfe6274b59582842c50a597f.tar.gz genkernel-80b3557d0bb19a0ebfe6274b59582842c50a597f.tar.bz2 genkernel-80b3557d0bb19a0ebfe6274b59582842c50a597f.zip |
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
Diffstat (limited to 'gen_arch.sh')
-rwxr-xr-x | gen_arch.sh | 19 |
1 files changed, 9 insertions, 10 deletions
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 |