projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.denx.de/u-boot into u-boot
[oweals/u-boot.git]
/
cpu
/
mcf5445x
/
config.mk
diff --git
a/cpu/mcf5445x/config.mk
b/cpu/mcf5445x/config.mk
index 88433f2f6d6e04494d46b662e528ea5a1547a049..67efa07af75b80641f2c7ae0024682853d0a20ac 100644
(file)
--- a/
cpu/mcf5445x/config.mk
+++ b/
cpu/mcf5445x/config.mk
@@
-29,3
+29,9
@@
PLATFORM_CPPFLAGS += -mcpu=54455 -fPIC
else
PLATFORM_CPPFLAGS += -m5407 -fPIC
endif
+
+ifneq (,$(findstring -linux-,$(shell $(CC) --version)))
+ifneq (,$(findstring GOT,$(shell $(LD) --help)))
+PLATFORM_LDFLAGS += --got=single
+endif
+endif