[RFC] broken installkernel.sh with CROSS_COMPILE

linas linas at austin.ibm.com
Thu Sep 8 08:35:38 EST 2005

On Fri, Sep 02, 2005 at 01:39:13PM -0700, Dave Hansen was heard to remark:
> I noticed that my cross-compilation 'make install' broke with 2.6.13 (I
> don't use it horribly often).  It's from this commit:
> Which added CROSS_COMPILE to each arch's install.sh:
> if [ -x ~/bin/${CROSS_COMPILE}installkernel ]; then exec ~/bin/${CROSS_COMPILE}installkernel "$@"; fi
> However, I don't just have a simple arch name as my CROSS_COMPILE, I
> have a whole path, so that line expands like this for me:

Try this:

# path to compilers and binutils, user may override by setting
# CROSS_PATH in environment



echo "using toolchain from $CROSS_PATH"


More information about the Linuxppc64-dev mailing list