On Wed, Mar 05, 2014 at 19:27 +0900, Masahiro Yamada wrote: > > If you like, you can still pass CROSS_COMPILE from the command line > or by the environment variable. > > ifeq ($(CROSS_COMPILE),) > CROSS_COMPILE := $(call cc-cross-prefix, arm-linux- arm-linux-gnueabi-) > endif > > $(call cc-cross-prefix, ...) is invoked only when $(CROSS_COMPILE) is empty, > that is CROSS_COMPILE is not explicitely specified.
Ouch! Please don't do this. You may call it "not explicitely specified", while I call it "explicitly NOT specified". What I did in the past is to specifically pass 'CROSS_COMPILE=' on the command line, explicitly voiding any potentially set value. If the computer takes this as an invitation to come up with its own idea of what I might have meant, this is bad. I agree with Detlev, and strongly so. Computers should strictly do what they were told to do, and not try guess (they are awful at that), or even to outsmart the user (this is counter productive, and causes a lot of heat). virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot