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

Collapse All | Expand All

(-)linux-info.eclass (-1 / +5 lines)
Lines 495-501 Link Here
495
495
496
	if [[ -z ${OUTPUT_DIR} ]]; then
496
	if [[ -z ${OUTPUT_DIR} ]]; then
497
		# Decide the function used to extract makefile variables.
497
		# Decide the function used to extract makefile variables.
498
		local mkfunc=$(get_makefile_extract_function "${KERNEL_MAKEFILE}")
498
		if [[ "${EBUILD_PHASE}" == "pretend" ]]; then
499
			local mkfunc=getfilevar_noexec
500
		else	
501
			local mkfunc=$(get_makefile_extract_function "${KERNEL_MAKEFILE}")
502
		fi
499
503
500
		# And if we didn't pass it, we can take a nosey in the Makefile.
504
		# And if we didn't pass it, we can take a nosey in the Makefile.
501
		OUTPUT_DIR=$(${mkfunc} KBUILD_OUTPUT "${KERNEL_MAKEFILE}")
505
		OUTPUT_DIR=$(${mkfunc} KBUILD_OUTPUT "${KERNEL_MAKEFILE}")

Return to bug 469210