Lines 1490-1506
kernel-2_src_unpack() {
Link Here
|
1490 |
fi |
1490 |
fi |
1491 |
|
1491 |
|
1492 |
# fix a problem on ppc where TOUT writes to /usr/src/linux breaking sandbox |
1492 |
# fix a problem on ppc where TOUT writes to /usr/src/linux breaking sandbox |
1493 |
# only do this for kernel < 2.6.27 since this file does not exist in later |
1493 |
local ppc_makefile="${S}"/arch/powerpc/Makefile |
1494 |
# kernels |
|
|
1495 |
if [[ -n ${KV_MINOR} && ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} < 2.6.27 ]] ; then |
1494 |
if [[ -n ${KV_MINOR} && ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} < 2.6.27 ]] ; then |
1496 |
sed -i \ |
1495 |
ppc_makefile="${S}"/arch/ppc/Makefile |
1497 |
-e 's|TOUT := .tmp_gas_check|TOUT := $(T).tmp_gas_check|' \ |
|
|
1498 |
"${S}"/arch/ppc/Makefile |
1499 |
else |
1500 |
sed -i \ |
1501 |
-e 's|TOUT := .tmp_gas_check|TOUT := $(T).tmp_gas_check|' \ |
1502 |
"${S}"/arch/powerpc/Makefile |
1503 |
fi |
1496 |
fi |
|
|
1497 |
sed -i \ |
1498 |
-e 's|^\(TOUT.*:= \)\(\.tmp_gas_check\)|\1$(addsuffix /,$(T))\2|' \ |
1499 |
"${ppc_makefile}" |
1504 |
} |
1500 |
} |
1505 |
|
1501 |
|
1506 |
# @FUNCTION: kernel-2_src_prepare |
1502 |
# @FUNCTION: kernel-2_src_prepare |
1507 |
- |
|
|