]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/config.mk
remove unnecessary version.h includes
[karo-tx-uboot.git] / arch / powerpc / config.mk
index fec02f2b82d727e3bf0f31d50677aea80533d6f9..411039649a07a0a4b2674e72b7d006d52df48020 100644 (file)
@@ -12,10 +12,11 @@ endif
 CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
 LDFLAGS_FINAL += --gc-sections
 LDFLAGS_FINAL += --bss-plt
-PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections \
-                                                               -meabi
-PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2
-PLATFORM_LDFLAGS  += -n
+PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections \
+-fdata-sections -mcall-linux
+
+PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -m32
+PLATFORM_LDFLAGS  += -m32 -melf32ppclinux
 
 # Support generic board on PPC
 __HAVE_ARCH_GENERIC_BOARD := y