aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-01-25 21:06:50 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-01-25 21:06:50 +0000
commitfe2f4e91be334d5c6157176aad4b453938a3eb0b (patch)
tree7d664bbd8a7bbf79cc17189b10b39ef4c7451597 /gen_arch.sh
parentAdded nice and fun patch from dostrow for building on ppc64 (and possibly oth... (diff)
downloadgenkernel-fe2f4e91be334d5c6157176aad4b453938a3eb0b.tar.gz
genkernel-fe2f4e91be334d5c6157176aad4b453938a3eb0b.tar.bz2
genkernel-fe2f4e91be334d5c6157176aad4b453938a3eb0b.zip
Added sparc patches for udev/klibc.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@359 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_arch.sh')
-rwxr-xr-xgen_arch.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/gen_arch.sh b/gen_arch.sh
index 44de8755..fcb45feb 100755
--- a/gen_arch.sh
+++ b/gen_arch.sh
@@ -32,6 +32,12 @@ get_official_arch() {
UTILS_ARCH=${UTILS_ARCH}
fi
fi
+
+ # sparc64 klibc is b0rked, so we force to 32
+ if [ "${ARCH}" = 'sparc64' ]
+ then
+ UTILS_ARCH='sparc'
+ fi
ARCH_CONFIG="${GK_SHARE}/${ARCH}/config.sh"
[ -f "${ARCH_CONFIG}" ] || gen_die "${ARCH} not yet supported by genkernel. Please add the arch-specific config file, ${ARCH_CONFIG}"