[PATCH] Qi / use shell environment CROSS_* variable

Frederic Leroy fredo at starox.org
Sat Mar 14 22:38:46 CET 2009


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 <fredo at starox.org>
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...)

More information about the openmoko-kernel mailing list