OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d7a45
)
Rules: Check for CROSS_COMPILE to be empty
author
Khem Raj
<raj.khem@gmail.com>
Sat, 21 Jan 2012 14:02:00 +0000
(06:02 -0800)
committer
Khem Raj
<raj.khem@gmail.com>
Tue, 24 Jan 2012 00:10:51 +0000
(16:10 -0800)
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>
Rules.mak
patch
|
blob
|
history
diff --git
a/Rules.mak
b/Rules.mak
index
792ced8
..
ec8f544
100644
(file)
--- a/
Rules.mak
+++ b/
Rules.mak
@@
-158,7
+158,7
@@
endif
comma:=,
space:= #
-if
ndef CROSS_COMPILE
+if
eq ($(CROSS_COMPILE),)
CROSS_COMPILE=$(call qstrip,$(CROSS_COMPILER_PREFIX))
endif