diff options
author | Rob Landley <rob@landley.net> | 2015-10-04 08:44:17 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-10-04 08:44:17 -0500 |
commit | 5b39d5c58cc3c43580a9114355b0763c171926b6 (patch) | |
tree | f8b4c593e1930be73b4febc4663b8aa474eb5e54 /Makefile | |
parent | 9cc78770dc593b58e2ac0b24c42c3948c09d5eec (diff) | |
download | toybox-5b39d5c58cc3c43580a9114355b0763c171926b6.tar.gz |
Export makefile variables so you can say "make CROSS_COMPILE=blah-" as well as "CROSS_COMPILE=blah- make".
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,11 @@ # Makefile for toybox. # Copyright 2006 Rob Landley <rob@landley.net> +# If people set these on the make command line, use 'em +# Note that CC defaults to "cc" so the one in configure doesn't get +# used when scripts/make.sh and care called through "make". +export CROSS_COMPILE CFLAGS OPTIMIZE LDOPTIMIZE CC HOSTCC V + all: toybox KCONFIG_CONFIG ?= .config |