Fix --kernel-cross-compile with PPC64.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@345 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 19 years ago
parent 0f79cfc1aa
commit e8e0dbd196

@ -5,6 +5,10 @@ compile_kernel_args()
local ARGS
ARGS=''
if [ "${KERNEL_CROSS_COMPILE}" != '' ]
then
ARGS="${ARGS} CROSS_COMPILE=\"${KERNEL_CROSS_COMPILE}\""
else
if [ "${KERNEL_CC}" != '' ]
then
ARGS="CC=\"${KERNEL_CC}\""
@ -17,12 +21,7 @@ compile_kernel_args()
then
ARGS="${ARGS} AS=\"${KERNEL_AS}\""
fi
if [ "${KERNEL_CROSS_COMPILE}" != '' ]
then
ARGS="${ARGS} CROSS_COMPILE=\"${KERNEL_CROSS_COMPILE}\""
fi
echo -n "${ARGS}"
}

Loading…
Cancel
Save