https://bitbucket.org/hudson/magic-lantern
Revision e94926fc4623f7f92408d0b16ddb13a86870636c authored by Antony Pavlov on 25 June 2013, 21:54:03 UTC, committed by Antony Pavlov on 25 June 2013, 21:54:03 UTC
Just now if you want to change toolchain you need to change
up to three variables in Makefile.user.default (ARM_PATH,
ARM_ABI and GCC_VERSION).
In linux kernel the CROSS_COMPILE variable makes
this work easier. Let's use the same approach for ML too.

This commit is made with backward compatibility in mind,
so you can use the old gcc-related Makefile variables
as usual.

Usage. Just define CROSS_COMPILE in Makefile.user.default
or even in cmdline, e.g.:

  make 600D CROSS_COMPILE=/my/toolchain/path/and/arm-pre-fix-
1 parent d7f5c64
History
Tip revision: e94926fc4623f7f92408d0b16ddb13a86870636c authored by Antony Pavlov on 25 June 2013, 21:54:03 UTC
Makefile.user.default: use CROSS_COMPILE variable for selecting a toolchain
Tip revision: e94926f
File Mode Size
contrib
data
doc
features
icons
installer
legacy
minimal
modules
picoc
platform
plugins
scripts
src
tcc
.hgignore -rw-r--r-- 1016 bytes
.hgtags -rw-r--r-- 3.0 KB
COPYING -rw-r--r-- 17.6 KB
Doxyfile -rw-r--r-- 66.0 KB
Makefile -rw-r--r-- 4.8 KB
Makefile.filerules -rw-r--r-- 1.2 KB
Makefile.inc -rw-r--r-- 3.0 KB
Makefile.obsolete -rw-r--r-- 2.9 KB
Makefile.setup -rw-r--r-- 2.6 KB
Makefile.top -rw-r--r-- 1.5 KB
Makefile.user.default -rw-r--r-- 3.0 KB
README -rw-r--r-- 1.6 KB

README

back to top