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

(-)o/gen_determineargs.sh (+9 lines)
Lines 35-40 Link Here
35
		if [ "${PAT}" -gt '4' -a "${VER}" -ge '2' -a -e ${KERNEL_DIR}/.config ]
35
		if [ "${PAT}" -gt '4' -a "${VER}" -ge '2' -a -e ${KERNEL_DIR}/.config ]
36
		then
36
		then
37
			KERN_24=0
37
			KERN_24=0
38
			
39
			if [ -z "${SUB}" ]; 
40
			then
41
				# Handle O= build directories
42
				KERNEL_SOURCE_DIR=`grep ^MAKEARGS\ \:\=  ${KERNEL_DIR}/Makefile | awk '{ print $4 };'`
43
				SUB=`grep ^SUBLEVEL\ \= ${KERNEL_SOURCE_DIR}/Makefile | awk '{ print $3 };'`
44
				EXV=`grep ^EXTRAVERSION\ \= ${KERNEL_SOURCE_DIR}/Makefile | sed -e "s/EXTRAVERSION =//" -e "s/ //g" -e 's/\$([a-z]*)//gi'`
45
			fi
46
			
38
			cd ${KERNEL_DIR}
47
			cd ${KERNEL_DIR}
39
			#compile_generic prepare kernel > /dev/null 2>&1
48
			#compile_generic prepare kernel > /dev/null 2>&1
40
			cd - > /dev/null 2>&1
49
			cd - > /dev/null 2>&1

Return to bug 238707