]> git.sur5r.net Git - u-boot/blobdiff - cpu/mpc5xx/config.mk
ColdFire: Update Freescale MCF52x2 platforms
[u-boot] / cpu / mpc5xx / config.mk
index cfed4994ce7dde38077168064bfa7c3ee17fb227..e95b8a1a85514a062eb127b43aed697d56334ecc 100644 (file)
@@ -28,6 +28,9 @@
 #
 
 
-PLATFORM_RELFLAGS +=   -mrelocatable -ffixed-r14 -meabi
+PLATFORM_RELFLAGS +=   -fPIC -ffixed-r14 -meabi -mrelocatable
 
-PLATFORM_CPPFLAGS +=   -DCONFIG_5xx -ffixed-r2 -ffixed-r29  -mpowerpc -msoft-float
+PLATFORM_CPPFLAGS +=   -DCONFIG_5xx -ffixed-r2 -ffixed-r29 -mpowerpc -msoft-float
+
+# Use default linker script.  Board port can override in board/*/config.mk
+LDSCRIPT := $(SRCTREE)/cpu/mpc5xx/u-boot.lds