Hello, I find convenient to use environment variable for cross-compiling. It allow to use a different toolchain place without need to modify the config.mk file. Here is the patch :
commit d5c0b328818a6ee7fb0607aabfc5d5ed6700e3c5 Author: Frédéric Leroy <[email protected]> Date: Sat Mar 14 22:29:54 2009 +0100 make shell CROSS_* variable overwrite Makefile variable diff --git a/config.mk b/config.mk index 1fee1a3..7c2c004 100644 --- a/config.mk +++ b/config.mk @@ -2,8 +2,8 @@ # Include the make variables (CC, etc...) # -CROSS_PATH=/usr/local/openmoko/arm -CROSS_COMPILE=${CROSS_PATH}/bin/arm-angstrom-linux-gnueabi- +CROSS_PATH?=/usr/local/openmoko/arm +CROSS_COMPILE?=${CROSS_PATH}/bin/arm-angstrom-linux-gnueabi- #### COMPILER_LIB_PATH_PRE=${CROSS_PATH}/lib/gcc/arm-angstrom-linux-gnueabi
