Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 32737 | Differences between
and this patch

Collapse All | Expand All

(-)kernel-2.eclass.bak (+16 lines)
Lines 82-87 Link Here
82
	echo ">>> version.h compiled successfully."
82
	echo ">>> version.h compiled successfully."
83
}
83
}
84
84
85
unpack_2_6() {
86
	cd ${S}
87
	# Part of the new magic to put output files seperate from
88
	# source files! (see bug #32737!)
89
90
	# Set KERNEL_OUTPUT_DIR if not already set
91
	[ -z "$KERNEL_OUTPUT_DIR" ] && \
92
		KERNEL_OUTPUT_DIR="/var/tmp/kernel-output/${KV}"
93
	mkdir -p ${KERNEL_OUTPUT_DIR}
94
	einfo "Setting kernel output directory to ${KERNEL_OUTPUT_DIR}"
95
	mv Makefile ${T}/Makefile
96
	sed -e "6s:^:KBUILD_OUTPUT=${KERNEL_OUTPUT_DIR}\n:" \
97
		${T}/Makefile > Makefile
98
}
99
85
universal_unpack() {
100
universal_unpack() {
86
	# remove all backup files
101
	# remove all backup files
87
	find . -iname "*~" -exec rm {} \; 2> /dev/null
102
	find . -iname "*~" -exec rm {} \; 2> /dev/null
Lines 419-424 Link Here
419
	[ -z "${K_NOSETEXTRAVERSION}" ] && unpack_set_extraversion
434
	[ -z "${K_NOSETEXTRAVERSION}" ] && unpack_set_extraversion
420
435
421
	[ $(kernel_is_2_4) $? == 0 ] && unpack_2_4
436
	[ $(kernel_is_2_4) $? == 0 ] && unpack_2_4
437
	[ $(kernel_is_2_6) $? == 0 ] && unpack_2_6
422
}
438
}
423
439
424
src_compile() {
440
src_compile() {

Return to bug 32737