Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 59687
Collapse All | Expand All

(-)gen_compile.sh (-2 / +2 lines)
Lines 467-473 Link Here
467
}
467
}
468
468
469
compile_udev() {
469
compile_udev() {
470
	if [ ! -f "${UDEV_BINCACHE}" ]
470
	if [ "${KV:0:3}" == "2.6" ] && [ ! -f "${UDEV_BINCACHE}" ] 
471
	then
471
	then
472
		cd "${TEMP}"
472
		cd "${TEMP}"
473
		rm -rf "${UDEV_DIR}" udev
473
		rm -rf "${UDEV_DIR}" udev
Lines 482-488 Link Here
482
		print_info 1 'udev: >> Compiling...'
482
		print_info 1 'udev: >> Compiling...'
483
		ln -snf "${KERNEL_DIR}" klibc/linux ||
483
		ln -snf "${KERNEL_DIR}" klibc/linux ||
484
			gen_die "Could not link to ${KERNEL_DIR}"
484
			gen_die "Could not link to ${KERNEL_DIR}"
485
		compile_generic 'USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf' utils
485
		compile_generic "KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" utils
486
		strip udev || gen_die 'Failed to strip the udev binary!'
486
		strip udev || gen_die 'Failed to strip the udev binary!'
487
487
488
		print_info 1 '      >> Installing...'
488
		print_info 1 '      >> Installing...'

Return to bug 59687