Modify Makefiles to build libc. Ensure correct build with multiple libraries.
[bootloader-ap.git] / arch / Makefile
index 7751596..f4f5d2d 100644 (file)
@@ -2,7 +2,7 @@ obj-$(CONFIG_ARCH_ARM) += arm-head.o
 obj-$(CONFIG_ARCH_MSM7X30) += arch-init-7x30.o
 
 arch.o: $(obj-y)
-       $(LD) -N -Ttext 0x8D000000 -e _start -o arch.o $(obj-y)
+       $(LD) -r -N -Ttext 0x8D000000 -e _start -o arch.o $(obj-y)
 
 all: arch.o