summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-01-21 06:02:00 -0800
committerKhem Raj <raj.khem@gmail.com>2012-01-23 16:10:51 -0800
commitb18b4210a84f87f7155683d73a0ab924c34fa3f2 (patch)
tree92d1c4678f454fe654eaf5fef74d8b2ac627f6c0
parenta0d7a4587584b1c217183d7f17a2d55ab44aaf3a (diff)
Rules: Check for CROSS_COMPILE to be empty
In some case where CROSS is defined to be empty we define CROSS_COMPILE ?= CROSS so at this point it will be defined but will be empty so check for the same Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 792ced850..ec8f544df 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -158,7 +158,7 @@ endif
comma:=,
space:= #
-ifndef CROSS_COMPILE
+ifeq ($(CROSS_COMPILE),)
CROSS_COMPILE=$(call qstrip,$(CROSS_COMPILER_PREFIX))
endif