[Android-virt] [PATCH 2/6] Makefile: export CROSS_COMPILE and ARCH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at linaro.org>
---
 Makefile |    3 +++
 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:
-- 
1.7.5.4



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux