[PATCH v2] wcn36xx: do not overwite CROSS_COMPILE

jam at cozybit.com jam at cozybit.com
Tue Oct 8 21:10:31 EDT 2013


From: Jason Mobarak <jam at cozybit.com>

Do not overwrite CROSS_COMPILE so that another cross compiler can be
utilized (other than the one provided by Android / CyanogenMod).

Signed-off-by: Jason Mobarak <jam at cozybit.com>

---

v2: Add change to root ./Makefile too

 Makefile             |    2 +-
 wcn36xx_msm/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 0cd44f9..ee77250 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 # make it possible to set/override android variables in .config
 -include .config
 
-CROSS_COMPILE=$(ARM_EABI_TOOLCHAIN)/arm-eabi-
+CROSS_COMPILE?=$(ARM_EABI_TOOLCHAIN)/arm-eabi-
 
 ifneq ($(KERNELRELEASE),)
 	wcn36xx-objs		+= \
diff --git a/wcn36xx_msm/Makefile b/wcn36xx_msm/Makefile
index 009d5a8..80efafc 100644
--- a/wcn36xx_msm/Makefile
+++ b/wcn36xx_msm/Makefile
@@ -1,7 +1,7 @@
 # make it possible to set/override android variables in .config
 -include .config
 
-CROSS_COMPILE=$(ARM_EABI_TOOLCHAIN)/arm-eabi-
+CROSS_COMPILE?=$(ARM_EABI_TOOLCHAIN)/arm-eabi-
 
 ifneq ($(KERNELRELEASE),)
 	wcn36xx_msm-objs		+= \
-- 
1.7.10.4




More information about the wcn36xx mailing list