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 local ARGS
ARGS='' ARGS=''
if [ "${KERNEL_CROSS_COMPILE}" != '' ]
then
ARGS="${ARGS} CROSS_COMPILE=\"${KERNEL_CROSS_COMPILE}\""
else
if [ "${KERNEL_CC}" != '' ] if [ "${KERNEL_CC}" != '' ]
then then
ARGS="CC=\"${KERNEL_CC}\"" ARGS="CC=\"${KERNEL_CC}\""
@ -17,12 +21,7 @@ compile_kernel_args()
then then
ARGS="${ARGS} AS=\"${KERNEL_AS}\"" ARGS="${ARGS} AS=\"${KERNEL_AS}\""
fi fi
if [ "${KERNEL_CROSS_COMPILE}" != '' ]
then
ARGS="${ARGS} CROSS_COMPILE=\"${KERNEL_CROSS_COMPILE}\""
fi fi
echo -n "${ARGS}" echo -n "${ARGS}"
} }

Loading…
Cancel
Save