projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee4e03
)
Allow overriding CROSS_COMPILE on the commandline.
author
Tobias Diedrich
<ranma+coreboot@tdiedrich.de>
Wed, 21 Oct 2015 19:33:36 +0000
(21:33 +0200)
committer
Tobias Diedrich
<ranma+coreboot@tdiedrich.de>
Wed, 21 Oct 2015 19:33:36 +0000
(21:33 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 77f44bbe5ffc4eac92b42232b637e4128142d7f1..8939d02ad92fd6ce42cc5c52666a6e2fc3227a89 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,12
@@
export BUILD_TOPDIR=$(PWD)
export STAGING_DIR=$(BUILD_TOPDIR)/tmp
-export MAKECMD=make --silent --no-print-directory ARCH=mips CROSS_COMPILE=mips-linux-gnu-
+ifndef CROSS_COMPILE
+CROSS_COMPILE = mips-linux-gnu-
+endif
+export CROSS_COMPILE
+
+export MAKECMD=make --silent --no-print-directory ARCH=mips
# boot delay (time to autostart boot command)
export CONFIG_BOOTDELAY=1