View | Details | Raw Unified
Collapse All | Expand All

(-) kernel-2.eclass.bak (+16 lines)
 Lines 82-87    Link Here 
	echo ">>> version.h compiled successfully."
	echo ">>> version.h compiled successfully."
}
}
unpack_2_6() {
	cd ${S}
	# Part of the new magic to put output files seperate from
	# source files! (see bug #32737!)
	# Set KERNEL_OUTPUT_DIR if not already set
	[ -z "$KERNEL_OUTPUT_DIR" ] && \
		KERNEL_OUTPUT_DIR="/var/tmp/kernel-output/${KV}"
	mkdir -p ${KERNEL_OUTPUT_DIR}
	einfo "Setting kernel output directory to ${KERNEL_OUTPUT_DIR}"
	mv Makefile ${T}/Makefile
	sed -e "6s:^:KBUILD_OUTPUT=${KERNEL_OUTPUT_DIR}\n:" \
		${T}/Makefile > Makefile
}
universal_unpack() {
universal_unpack() {
	# remove all backup files
	# remove all backup files
	find . -iname "*~" -exec rm {} \; 2> /dev/null
	find . -iname "*~" -exec rm {} \; 2> /dev/null
 Lines 419-424    Link Here 
	[ -z "${K_NOSETEXTRAVERSION}" ] && unpack_set_extraversion
	[ -z "${K_NOSETEXTRAVERSION}" ] && unpack_set_extraversion
	[ $(kernel_is_2_4) $? == 0 ] && unpack_2_4
	[ $(kernel_is_2_4) $? == 0 ] && unpack_2_4
	[ $(kernel_is_2_6) $? == 0 ] && unpack_2_6
}
}
src_compile() {
src_compile() {