[git commit] Rules: Check for CROSS_COMPILE to be empty
Khem Raj
raj.khem at gmail.com
Tue Jan 24 00:10:51 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=b18b4210a84f87f7155683d73a0ab924c34fa3f2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
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 at gmail.com>
---
Rules.mak | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index 792ced8..ec8f544 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
More information about the uClibc-cvs
mailing list