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
cleanup-cruft
Eric Edgar 20 years ago
parent 8ec05b8cbf
commit e8326ea304

@ -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!'

Loading…
Cancel
Save