From: Tobias Diedrich Date: Wed, 21 Oct 2015 19:33:36 +0000 (+0200) Subject: Allow overriding CROSS_COMPILE on the commandline. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=43f6ed40d1bd494027d5cf32ac5a7699af66f095;p=oweals%2Fu-boot_mod.git Allow overriding CROSS_COMPILE on the commandline. --- diff --git a/Makefile b/Makefile index 77f44bb..8939d02 100644 --- 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