summaryrefslogtreecommitdiff
path: root/cpu/mcf5445x/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-13 14:44:04 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 14:44:04 +0200
commit0740ac26f4e590bf5b4e7b9a9886208dc2dacb32 (patch)
tree5d18fcb91d491f602c17c550af70a9a092b883f8 /cpu/mcf5445x/config.mk
parentaf577da58642b81eb94067e3d9e9dc6998cd620d (diff)
parent47bf9c71ae838305a3ea3161af8d14e6f3fc2c82 (diff)
downloadu-boot-imx-0740ac26f4e590bf5b4e7b9a9886208dc2dacb32.zip
u-boot-imx-0740ac26f4e590bf5b4e7b9a9886208dc2dacb32.tar.gz
u-boot-imx-0740ac26f4e590bf5b4e7b9a9886208dc2dacb32.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-coldfire
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