Lines 467-472
Link Here
|
467 |
[ -d "${DIETLIBC_DIR}" ] || |
467 |
[ -d "${DIETLIBC_DIR}" ] || |
468 |
gen_die "Dietlibc directory ${DIETLIBC_DIR} is invalid!" |
468 |
gen_die "Dietlibc directory ${DIETLIBC_DIR} is invalid!" |
469 |
cd "${DIETLIBC_DIR}" |
469 |
cd "${DIETLIBC_DIR}" |
|
|
470 |
DLIBC_PATCH="${GK_SHARE}/pkg/dietlibc-${DIETLIBC_VER}-ppc.patch" |
471 |
if [ -f "${DLIBC_PATCH}" ] |
472 |
then |
473 |
print_info 1 "dietlibc: >> Patching..." |
474 |
patch -p0 < "${DLIBC_PATCH}" || |
475 |
gen_die 'Dietlibc patch failed' |
476 |
fi |
470 |
print_info 1 "dietlibc: >> Compiling..." |
477 |
print_info 1 "dietlibc: >> Compiling..." |
471 |
compile_generic "prefix=${TEMP}/diet" utils |
478 |
compile_generic "prefix=${TEMP}/diet" utils |
472 |
print_info 1 " >> Installing..." |
479 |
print_info 1 " >> Installing..." |