diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-12-05 17:47:39 +0000 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2011-12-08 22:11:22 -0500 |
commit | cc775eb2a9f3892a92e72416121c638c38d26a84 (patch) | |
tree | 3a84cc45de40b3d561f6e8ad1a3bb2dbb0ef2d19 | |
parent | e99009564efa9a2b36a6709d742abef0c2d41633 (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-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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: |