projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a91dea
)
software/common: fix LTO checks.
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 9 Mar 2020 18:08:27 +0000
(19:08 +0100)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 9 Mar 2020 18:08:27 +0000
(19:08 +0100)
litex/soc/software/common.mak
patch
|
blob
|
history
diff --git
a/litex/soc/software/common.mak
b/litex/soc/software/common.mak
index e55d65f1de1c1d282b88de507468cc1ba8416b0a..9fd0e307c9a6b428d16ccc1afb777f0afc025345 100644
(file)
--- a/
litex/soc/software/common.mak
+++ b/
litex/soc/software/common.mak
@@
-7,7
+7,7
@@
endif
RM ?= rm -f
PYTHON ?= python3
-if
n
eq ($(CPU), lm32)
+ifeq ($(CPU), lm32)
LTO = 0
else
LTO = 1
@@
-20,7
+20,7
@@
else
CC_normal := $(TARGET_PREFIX)gcc -std=gnu99
CX_normal := $(TARGET_PREFIX)g++
endif
-if
n
eq ($(LTO), 1)
+ifeq ($(LTO), 1)
AR_normal := $(TARGET_PREFIX)gcc-ar
else
AR_normal := $(TARGET_PREFIX)ar