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

Collapse All | Expand All

(-)a/eclass/kernel-2.eclass (-10 / +6 lines)
Lines 1452-1466 kernel-2_src_unpack() { Link Here
1452
	# fix a problem on ppc where TOUT writes to /usr/src/linux breaking sandbox
1452
	# fix a problem on ppc where TOUT writes to /usr/src/linux breaking sandbox
1453
	# only do this for kernel < 2.6.27 since this file does not exist in later
1453
	# only do this for kernel < 2.6.27 since this file does not exist in later
1454
	# kernels
1454
	# kernels
1455
	if [[ -n ${KV_MINOR} ]] && ver_test ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} -lt 2.6.27; then
1455
	local ppc_makefile="${S}"/arch/powerpc/Makefile
1456
		sed -i \
1456
	[[ -n ${KV_MINOR} ]] && ver_test ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} -lt 2.6.27  && \
1457
			-e 's|TOUT      := .tmp_gas_check|TOUT  := $(T).tmp_gas_check|' \
1457
				ppc_makefile="${S}"/arch/ppc/Makefile
1458
			"${S}"/arch/ppc/Makefile
1458
	sed -i \
1459
	else
1459
		-e 's|^\(TOUT.*:= \)\(\.tmp_gas_check\)|\1$(addsuffix /,$(T))\2|' \
1460
		sed -i \
1460
		"${ppc_makefile}"
1461
			-e 's|TOUT      := .tmp_gas_check|TOUT  := $(T).tmp_gas_check|' \
1462
			"${S}"/arch/powerpc/Makefile
1463
	fi
1464
}
1461
}
1465
1462
1466
# @FUNCTION: kernel-2_src_prepare
1463
# @FUNCTION: kernel-2_src_prepare
1467
- 

Return to bug 336732