aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-12-05 17:47:39 +0000
committerChristoffer Dall <cdall@cs.columbia.edu>2011-12-08 22:11:22 -0500
commitcc775eb2a9f3892a92e72416121c638c38d26a84 (patch)
tree3a84cc45de40b3d561f6e8ad1a3bb2dbb0ef2d19
parente99009564efa9a2b36a6709d742abef0c2d41633 (diff)
Makefile: export CROSS_COMPILE and ARCH
CROSS_COMPILE and ARCH are needed by the kernel makefile, so export them so they are passed down even if we're using the defaults in this makefile rather than user specified (command line or environment) settings. Signed-off-by: Peter Maydell <peter.maydelL@linaro.org>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3d74ac0..67d840b 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,9 @@ CROSS_COMPILE ?= arm-unknown-eabi-
CC = $(CROSS_COMPILE)gcc
LD = $(CROSS_COMPILE)ld
+# These are needed by the underlying kernel make
+export CROSS_COMPILE ARCH
+
all: $(IMAGE)
clean: