summaryrefslogtreecommitdiff
path: root/cpu/mcf5445x/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-13 14:44:12 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 14:44:12 +0200
commitc90d115913a921c7548ad6eaaa0e13d4f484334c (patch)
tree324cbb51ec8d0e8047bbce13d5f9900da2db1cbe /cpu/mcf5445x/config.mk
parentdc42c7c08000f97651b763ab5b614e5f74c443ee (diff)
parent0740ac26f4e590bf5b4e7b9a9886208dc2dacb32 (diff)
downloadu-boot-imx-c90d115913a921c7548ad6eaaa0e13d4f484334c.zip
u-boot-imx-c90d115913a921c7548ad6eaaa0e13d4f484334c.tar.gz
u-boot-imx-c90d115913a921c7548ad6eaaa0e13d4f484334c.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'cpu/mcf5445x/config.mk')
-rw-r--r--cpu/mcf5445x/config.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/mcf5445x/config.mk b/cpu/mcf5445x/config.mk
index 88433f2..67efa07 100644
--- 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