From: Eric Edgar Date: Thu, 16 Jun 2005 21:23:13 +0000 (+0000) Subject: udev build fix for no ARCH=um architectures X-Git-Tag: v3.4.10.902~541 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e8326ea304757cc14710281656c8d0531585aef1;p=genkernel.git udev build fix for no ARCH=um architectures git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@211 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_compile.sh b/gen_compile.sh index 00071db..5c3e2fb 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -689,7 +689,13 @@ compile_udev() { print_info 1 'udev: >> Compiling...' ln -snf "${KERNEL_DIR}" klibc/linux || gen_die "Could not link to ${KERNEL_DIR}" - compile_generic "ARCH=${ARCH} KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" utils + if [ "${ARCH}" = 'um' ] + then + compile_generic "ARCH=um KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" utils + else + compile_generic "KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" utils + fi + strip udev || gen_die 'Failed to strip the udev binary!'