Switch from archive libraries to partial linking

Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils.  As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".

This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.

The name of each former library archive is preserved except for
extensions which change from ".a" to ".o".  This commit updates
references accordingly where needed, in particular in some linker
scripts.

This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols.  Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

Signed-off-by: Sebastien Carlier <sebastien.carlier@gmail.com>
master
Sebastien Carlier 14 years ago committed by Wolfgang Denk
parent d7b1970015
commit 6d8962e814
  1. 118
      Makefile
  2. 4
      api/Makefile
  3. 4
      arch/arm/cpu/arm1136/Makefile
  4. 4
      arch/arm/cpu/arm1136/mx31/Makefile
  5. 4
      arch/arm/cpu/arm1136/omap24xx/Makefile
  6. 4
      arch/arm/cpu/arm1176/Makefile
  7. 4
      arch/arm/cpu/arm1176/s3c64xx/Makefile
  8. 4
      arch/arm/cpu/arm1176/tnetv107x/Makefile
  9. 4
      arch/arm/cpu/arm720t/Makefile
  10. 4
      arch/arm/cpu/arm720t/lpc2292/Makefile
  11. 4
      arch/arm/cpu/arm720t/s3c4510b/Makefile
  12. 4
      arch/arm/cpu/arm920t/Makefile
  13. 4
      arch/arm/cpu/arm920t/a320/Makefile
  14. 4
      arch/arm/cpu/arm920t/at91/Makefile
  15. 4
      arch/arm/cpu/arm920t/at91rm9200/Makefile
  16. 4
      arch/arm/cpu/arm920t/ep93xx/Makefile
  17. 4
      arch/arm/cpu/arm920t/imx/Makefile
  18. 4
      arch/arm/cpu/arm920t/ks8695/Makefile
  19. 4
      arch/arm/cpu/arm920t/s3c24x0/Makefile
  20. 4
      arch/arm/cpu/arm925t/Makefile
  21. 4
      arch/arm/cpu/arm926ejs/Makefile
  22. 4
      arch/arm/cpu/arm926ejs/at91/Makefile
  23. 4
      arch/arm/cpu/arm926ejs/davinci/Makefile
  24. 4
      arch/arm/cpu/arm926ejs/kirkwood/Makefile
  25. 4
      arch/arm/cpu/arm926ejs/mb86r0x/Makefile
  26. 4
      arch/arm/cpu/arm926ejs/mx25/Makefile
  27. 4
      arch/arm/cpu/arm926ejs/mx27/Makefile
  28. 4
      arch/arm/cpu/arm926ejs/nomadik/Makefile
  29. 4
      arch/arm/cpu/arm926ejs/omap/Makefile
  30. 4
      arch/arm/cpu/arm926ejs/orion5x/Makefile
  31. 4
      arch/arm/cpu/arm926ejs/spear/Makefile
  32. 4
      arch/arm/cpu/arm926ejs/versatile/Makefile
  33. 4
      arch/arm/cpu/arm946es/Makefile
  34. 4
      arch/arm/cpu/arm_intcm/Makefile
  35. 4
      arch/arm/cpu/armv7/Makefile
  36. 4
      arch/arm/cpu/armv7/mx5/Makefile
  37. 4
      arch/arm/cpu/armv7/omap-common/Makefile
  38. 4
      arch/arm/cpu/armv7/omap3/Makefile
  39. 4
      arch/arm/cpu/armv7/omap4/Makefile
  40. 4
      arch/arm/cpu/armv7/s5p-common/Makefile
  41. 4
      arch/arm/cpu/armv7/s5pc1xx/Makefile
  42. 4
      arch/arm/cpu/ixp/Makefile
  43. 4
      arch/arm/cpu/ixp/npe/Makefile
  44. 4
      arch/arm/cpu/lh7a40x/Makefile
  45. 4
      arch/arm/cpu/pxa/Makefile
  46. 4
      arch/arm/cpu/s3c44b0/Makefile
  47. 4
      arch/arm/cpu/sa1100/Makefile
  48. 10
      arch/arm/lib/Makefile
  49. 4
      arch/avr32/cpu/Makefile
  50. 4
      arch/avr32/cpu/at32ap700x/Makefile
  51. 4
      arch/avr32/lib/Makefile
  52. 4
      arch/blackfin/cpu/Makefile
  53. 4
      arch/blackfin/lib/Makefile
  54. 4
      arch/i386/cpu/Makefile
  55. 4
      arch/i386/cpu/sc520/Makefile
  56. 4
      arch/i386/lib/Makefile
  57. 4
      arch/m68k/cpu/mcf5227x/Makefile
  58. 4
      arch/m68k/cpu/mcf523x/Makefile
  59. 4
      arch/m68k/cpu/mcf52x2/Makefile
  60. 4
      arch/m68k/cpu/mcf532x/Makefile
  61. 4
      arch/m68k/cpu/mcf5445x/Makefile
  62. 4
      arch/m68k/cpu/mcf547x_8x/Makefile
  63. 4
      arch/m68k/lib/Makefile
  64. 4
      arch/microblaze/cpu/Makefile
  65. 4
      arch/microblaze/lib/Makefile
  66. 4
      arch/mips/cpu/Makefile
  67. 4
      arch/mips/lib/Makefile
  68. 4
      arch/nios2/cpu/Makefile
  69. 4
      arch/nios2/lib/Makefile
  70. 4
      arch/powerpc/cpu/74xx_7xx/Makefile
  71. 4
      arch/powerpc/cpu/mpc512x/Makefile
  72. 4
      arch/powerpc/cpu/mpc5xx/Makefile
  73. 4
      arch/powerpc/cpu/mpc5xxx/Makefile
  74. 4
      arch/powerpc/cpu/mpc8220/Makefile
  75. 4
      arch/powerpc/cpu/mpc824x/Makefile
  76. 4
      arch/powerpc/cpu/mpc8260/Makefile
  77. 4
      arch/powerpc/cpu/mpc83xx/Makefile
  78. 4
      arch/powerpc/cpu/mpc85xx/Makefile
  79. 4
      arch/powerpc/cpu/mpc86xx/Makefile
  80. 4
      arch/powerpc/cpu/mpc8xx/Makefile
  81. 4
      arch/powerpc/cpu/mpc8xxx/Makefile
  82. 4
      arch/powerpc/cpu/mpc8xxx/ddr/Makefile
  83. 4
      arch/powerpc/cpu/ppc4xx/Makefile
  84. 4
      arch/powerpc/lib/Makefile
  85. 4
      arch/sh/cpu/sh2/Makefile
  86. 4
      arch/sh/cpu/sh3/Makefile
  87. 4
      arch/sh/cpu/sh4/Makefile
  88. 4
      arch/sh/lib/Makefile
  89. 4
      arch/sparc/cpu/leon2/Makefile
  90. 4
      arch/sparc/cpu/leon3/Makefile
  91. 4
      arch/sparc/lib/Makefile
  92. 4
      board/BuS/EB+MCF-EV123/Makefile
  93. 4
      board/BuS/eb_cpux9k2/Makefile
  94. 4
      board/LEOX/elpt860/Makefile
  95. 4
      board/LaCie/edminiv2/Makefile
  96. 4
      board/Marvell/db64360/Makefile
  97. 4
      board/Marvell/db64460/Makefile
  98. 4
      board/Marvell/guruplug/Makefile
  99. 4
      board/Marvell/mv88f6281gtw_ge/Makefile
  100. 4
      board/Marvell/openrd_base/Makefile
  101. Some files were not shown because too many files have changed in this diff Show More

@ -180,90 +180,90 @@ endif
OBJS := $(addprefix $(obj),$(OBJS)) OBJS := $(addprefix $(obj),$(OBJS))
LIBS = lib/libgeneric.a LIBS = lib/libgeneric.o
LIBS += lib/lzma/liblzma.a LIBS += lib/lzma/liblzma.o
LIBS += lib/lzo/liblzo.a LIBS += lib/lzo/liblzo.o
LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \ LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
"board/$(VENDOR)/common/lib$(VENDOR).a"; fi) "board/$(VENDOR)/common/lib$(VENDOR).o"; fi)
LIBS += $(CPUDIR)/lib$(CPU).a LIBS += $(CPUDIR)/lib$(CPU).o
ifdef SOC ifdef SOC
LIBS += $(CPUDIR)/$(SOC)/lib$(SOC).a LIBS += $(CPUDIR)/$(SOC)/lib$(SOC).o
endif endif
ifeq ($(CPU),ixp) ifeq ($(CPU),ixp)
LIBS += arch/arm/cpu/ixp/npe/libnpe.a LIBS += arch/arm/cpu/ixp/npe/libnpe.o
endif endif
LIBS += arch/$(ARCH)/lib/lib$(ARCH).a LIBS += arch/$(ARCH)/lib/lib$(ARCH).o
LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ LIBS += fs/cramfs/libcramfs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o \
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a \ fs/reiserfs/libreiserfs.o fs/ext2/libext2fs.o fs/yaffs2/libyaffs2.o \
fs/ubifs/libubifs.a fs/ubifs/libubifs.o
LIBS += net/libnet.a LIBS += net/libnet.o
LIBS += disk/libdisk.a LIBS += disk/libdisk.o
LIBS += drivers/bios_emulator/libatibiosemu.a LIBS += drivers/bios_emulator/libatibiosemu.o
LIBS += drivers/block/libblock.a LIBS += drivers/block/libblock.o
LIBS += drivers/dma/libdma.a LIBS += drivers/dma/libdma.o
LIBS += drivers/fpga/libfpga.a LIBS += drivers/fpga/libfpga.o
LIBS += drivers/gpio/libgpio.a LIBS += drivers/gpio/libgpio.o
LIBS += drivers/hwmon/libhwmon.a LIBS += drivers/hwmon/libhwmon.o
LIBS += drivers/i2c/libi2c.a LIBS += drivers/i2c/libi2c.o
LIBS += drivers/input/libinput.a LIBS += drivers/input/libinput.o
LIBS += drivers/misc/libmisc.a LIBS += drivers/misc/libmisc.o
LIBS += drivers/mmc/libmmc.a LIBS += drivers/mmc/libmmc.o
LIBS += drivers/mtd/libmtd.a LIBS += drivers/mtd/libmtd.o
LIBS += drivers/mtd/nand/libnand.a LIBS += drivers/mtd/nand/libnand.o
LIBS += drivers/mtd/onenand/libonenand.a LIBS += drivers/mtd/onenand/libonenand.o
LIBS += drivers/mtd/ubi/libubi.a LIBS += drivers/mtd/ubi/libubi.o
LIBS += drivers/mtd/spi/libspi_flash.a LIBS += drivers/mtd/spi/libspi_flash.o
LIBS += drivers/net/libnet.a LIBS += drivers/net/libnet.o
LIBS += drivers/net/phy/libphy.a LIBS += drivers/net/phy/libphy.o
LIBS += drivers/pci/libpci.a LIBS += drivers/pci/libpci.o
LIBS += drivers/pcmcia/libpcmcia.a LIBS += drivers/pcmcia/libpcmcia.o
LIBS += drivers/power/libpower.a LIBS += drivers/power/libpower.o
LIBS += drivers/spi/libspi.a LIBS += drivers/spi/libspi.o
ifeq ($(CPU),mpc83xx) ifeq ($(CPU),mpc83xx)
LIBS += drivers/qe/qe.a LIBS += drivers/qe/libqe.o
LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.a LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.o
endif endif
ifeq ($(CPU),mpc85xx) ifeq ($(CPU),mpc85xx)
LIBS += drivers/qe/qe.a LIBS += drivers/qe/libqe.o
LIBS += arch/powerpc/cpu/mpc8xxx/ddr/libddr.a LIBS += arch/powerpc/cpu/mpc8xxx/ddr/libddr.o
LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.a LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.o
endif endif
ifeq ($(CPU),mpc86xx) ifeq ($(CPU),mpc86xx)
LIBS += arch/powerpc/cpu/mpc8xxx/ddr/libddr.a LIBS += arch/powerpc/cpu/mpc8xxx/ddr/libddr.o
LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.a LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.o
endif endif
LIBS += drivers/rtc/librtc.a LIBS += drivers/rtc/librtc.o
LIBS += drivers/serial/libserial.a LIBS += drivers/serial/libserial.o
LIBS += drivers/twserial/libtws.a LIBS += drivers/twserial/libtws.o
LIBS += drivers/usb/gadget/libusb_gadget.a LIBS += drivers/usb/gadget/libusb_gadget.o
LIBS += drivers/usb/host/libusb_host.a LIBS += drivers/usb/host/libusb_host.o
LIBS += drivers/usb/musb/libusb_musb.a LIBS += drivers/usb/musb/libusb_musb.o
LIBS += drivers/usb/phy/libusb_phy.a LIBS += drivers/usb/phy/libusb_phy.o
LIBS += drivers/video/libvideo.a LIBS += drivers/video/libvideo.o
LIBS += drivers/watchdog/libwatchdog.a LIBS += drivers/watchdog/libwatchdog.o
LIBS += common/libcommon.a LIBS += common/libcommon.o
LIBS += lib/libfdt/libfdt.a LIBS += lib/libfdt/libfdt.o
LIBS += api/libapi.a LIBS += api/libapi.o
LIBS += post/libpost.a LIBS += post/libpost.o
ifeq ($(SOC),omap3) ifeq ($(SOC),omap3)
LIBS += $(CPUDIR)/omap-common/libomap-common.a LIBS += $(CPUDIR)/omap-common/libomap-common.o
endif endif
ifeq ($(SOC),omap4) ifeq ($(SOC),omap4)
LIBS += $(CPUDIR)/omap-common/libomap-common.a LIBS += $(CPUDIR)/omap-common/libomap-common.o
endif endif
ifeq ($(SOC),s5pc1xx) ifeq ($(SOC),s5pc1xx)
LIBS += $(CPUDIR)/s5p-common/libs5p-common.a LIBS += $(CPUDIR)/s5p-common/libs5p-common.o
endif endif
ifeq ($(SOC),s5pc2xx) ifeq ($(SOC),s5pc2xx)
LIBS += $(CPUDIR)/s5p-common/libs5p-common.a LIBS += $(CPUDIR)/s5p-common/libs5p-common.o
endif endif
LIBS := $(addprefix $(obj),$(LIBS)) LIBS := $(addprefix $(obj),$(LIBS))
.PHONY : $(LIBS) $(TIMESTAMP_FILE) $(VERSION_FILE) .PHONY : $(LIBS) $(TIMESTAMP_FILE) $(VERSION_FILE)
LIBBOARD = board/$(BOARDDIR)/lib$(BOARD).a LIBBOARD = board/$(BOARDDIR)/lib$(BOARD).o
LIBBOARD := $(addprefix $(obj),$(LIBBOARD)) LIBBOARD := $(addprefix $(obj),$(LIBBOARD))
# Add GCC lib # Add GCC lib

@ -22,7 +22,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)libapi.a LIB = $(obj)libapi.o
COBJS-$(CONFIG_API) += api.o api_net.o api_storage.o api_platform-$(ARCH).o COBJS-$(CONFIG_API) += api.o api_net.o api_storage.o api_platform-$(ARCH).o
@ -31,7 +31,7 @@ SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS)) OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
# defines $(obj).depend target # defines $(obj).depend target
include $(SRCTREE)/rules.mk include $(SRCTREE)/rules.mk

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = cpu.o COBJS = cpu.o
@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS += generic.o COBJS += generic.o
COBJS += timer.o COBJS += timer.o
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS = reset.o SOBJS = reset.o
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = cpu.o COBJS = cpu.o
@ -38,7 +38,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS = reset.o SOBJS = reset.o
@ -38,7 +38,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -19,7 +19,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS += aemif.o clock.o init.o mux.o timer.o wdt.o COBJS += aemif.o clock.o init.o mux.o timer.o wdt.o
SOBJS += lowlevel_init.o SOBJS += lowlevel_init.o
@ -32,7 +32,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = interrupts.o cpu.o COBJS = interrupts.o cpu.o
@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = flash.o mmc.o mmc_hw.o spi.o COBJS = flash.o mmc.o mmc_hw.o spi.o
SOBJS = $(obj)iap_entry.o SOBJS = $(obj)iap_entry.o
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(SOBJS) $(LIB): $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
# this MUST be compiled as thumb code! # this MUST be compiled as thumb code!
$(SOBJS): $(SOBJS):

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS-y += cache.o COBJS-y += cache.o
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS += reset.o SOBJS += reset.o
COBJS += timer.o COBJS += timer.o
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS += lowlevel_init.o SOBJS += lowlevel_init.o
COBJS += reset.o COBJS += reset.o
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS += lowlevel_init.o SOBJS += lowlevel_init.o
@ -44,7 +44,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -32,7 +32,7 @@
# #
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = cpu.o led.o speed.o timer.o COBJS = cpu.o led.o speed.o timer.o
SOBJS = lowlevel_init.o SOBJS = lowlevel_init.o
@ -43,7 +43,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS += generic.o COBJS += generic.o
COBJS += speed.o COBJS += speed.o
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS = lowlevel_init.o SOBJS = lowlevel_init.o
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS-$(CONFIG_USE_IRQ) += interrupts.o COBJS-$(CONFIG_USE_IRQ) += interrupts.o
COBJS-y += speed.o COBJS-y += speed.o
@ -38,7 +38,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -38,7 +38,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = cpu.o COBJS = cpu.o
@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS-$(CONFIG_AT91CAP9) += at91cap9_devices.o COBJS-$(CONFIG_AT91CAP9) += at91cap9_devices.o
COBJS-$(CONFIG_AT91SAM9260) += at91sam9260_devices.o COBJS-$(CONFIG_AT91SAM9260) += at91sam9260_devices.o
@ -51,7 +51,7 @@ OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS-y += cpu.o timer.o psc.o COBJS-y += cpu.o timer.o psc.o
COBJS-$(CONFIG_SOC_DM355) += dm355.o COBJS-$(CONFIG_SOC_DM355) += dm355.o
@ -47,7 +47,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -24,7 +24,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS-y = cpu.o COBJS-y = cpu.o
COBJS-y += dram.o COBJS-y += dram.o
@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = clock.o reset.o timer.o COBJS = clock.o reset.o timer.o
SOBJS = SOBJS =
@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -22,7 +22,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = generic.o timer.o COBJS = generic.o timer.o
MX27OBJS = reset.o MX27OBJS = reset.o
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS) $(MX27OBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -22,7 +22,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = generic.o reset.o timer.o COBJS = generic.o reset.o timer.o
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = timer.o gpio.o COBJS = timer.o gpio.o
SOBJS = reset.o SOBJS = reset.o
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS)) $(addprefix $(obj),$(SOBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = timer.o cpuinfo.o COBJS = timer.o cpuinfo.o
SOBJS = reset.o SOBJS = reset.o
@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -27,7 +27,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS-y = cpu.o COBJS-y = cpu.o
COBJS-y += dram.o COBJS-y += dram.o
@ -43,7 +43,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS := reset.o \ COBJS := reset.o \
timer.o timer.o
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean: clean:
rm -f $(SOBJS) $(OBJS) rm -f $(SOBJS) $(OBJS)

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = timer.o COBJS = timer.o
SOBJS = reset.o SOBJS = reset.o
@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -36,7 +36,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = cpu.o COBJS = cpu.o
@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START := start.o START := start.o
COBJS := cpu.o COBJS := cpu.o
@ -36,7 +36,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
COBJS = soc.o clock.o iomux.o timer.o speed.o COBJS = soc.o clock.o iomux.o timer.o speed.o
SOBJS = lowlevel_init.o SOBJS = lowlevel_init.o
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)libomap-common.a LIB = $(obj)libomap-common.o
SOBJS := reset.o SOBJS := reset.o
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS := lowlevel_init.o SOBJS := lowlevel_init.o
SOBJS += cache.o SOBJS += cache.o
@ -43,7 +43,7 @@ OBJS := $(addprefix $(obj),$(COBJS) $(COBJS-y) $(SOBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS += lowlevel_init.o SOBJS += lowlevel_init.o
@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)libs5p-common.a LIB = $(obj)libs5p-common.o
COBJS-y += cpu_info.o COBJS-y += cpu_info.o
COBJS-y += timer.o COBJS-y += timer.o
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).o
SOBJS = cache.o SOBJS = cache.o
SOBJS += reset.o SOBJS += reset.o
@ -40,7 +40,7 @@ OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -38,7 +38,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB := $(obj)libnpe.a LIB := $(obj)libnpe.o
LOCAL_CFLAGS += -I$(TOPDIR)/arch/arm/cpu/ixp/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB -D__linux LOCAL_CFLAGS += -I$(TOPDIR)/arch/arm/cpu/ixp/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB -D__linux
CFLAGS += $(LOCAL_CFLAGS) CFLAGS += $(LOCAL_CFLAGS)
@ -86,7 +86,7 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
all: $(LIB) all: $(LIB)
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = cpu.o speed.o timer.o COBJS = cpu.o speed.o timer.o
@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -40,7 +40,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -38,7 +38,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,8 +23,8 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
LIBGCC = $(obj)libgcc.a LIBGCC = $(obj)libgcc.o
GLSOBJS += _ashldi3.o GLSOBJS += _ashldi3.o
GLSOBJS += _ashrdi3.o GLSOBJS += _ashrdi3.o
@ -51,7 +51,7 @@ OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
LGOBJS := $(addprefix $(obj),$(GLSOBJS)) \ LGOBJS := $(addprefix $(obj),$(GLSOBJS)) \
$(addprefix $(obj),$(GLCOBJS)) $(addprefix $(obj),$(GLCOBJS))
# Always build libarm.a # Always build libarm.o
TARGETS := $(LIB) TARGETS := $(LIB)
# Build private libgcc only when asked for # Build private libgcc only when asked for
@ -67,10 +67,10 @@ endif
all: $(TARGETS) all: $(TARGETS)
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
$(LIBGCC): $(obj).depend $(LGOBJS) $(LIBGCC): $(obj).depend $(LGOBJS)
$(AR) $(ARFLAGS) $@ $(LGOBJS) $(call cmd_link_o_target, $(LGOBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB := $(obj)lib$(CPU).a LIB := $(obj)lib$(CPU).o
START-y += start.o START-y += start.o
@ -44,7 +44,7 @@ START := $(addprefix $(obj),$(START-y))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $^ $(call cmd_link_o_target, $^)
######################################################################### #########################################################################

@ -22,7 +22,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB := $(obj)lib$(SOC).a LIB := $(obj)lib$(SOC).o
COBJS := portmux.o clk.o mmu.o COBJS := portmux.o clk.o mmu.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
@ -31,7 +31,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $^ $(call cmd_link_o_target, $^)
######################################################################### #########################################################################

@ -25,7 +25,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += memset.o SOBJS-y += memset.o
@ -37,7 +37,7 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -11,7 +11,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
EXTRA := EXTRA :=
CEXTRA := initcode.o CEXTRA := initcode.o
@ -42,7 +42,7 @@ SEXTRA := $(addprefix $(obj),$(SEXTRA))
all: $(obj).depend $(LIB) $(obj).depend $(EXTRA) $(CEXTRA) $(SEXTRA) check_initcode all: $(obj).depend $(LIB) $(obj).depend $(EXTRA) $(CEXTRA) $(SEXTRA) check_initcode
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
$(OBJS): $(obj)bootrom-asm-offsets.h $(OBJS): $(obj)bootrom-asm-offsets.h
$(obj)bootrom-asm-offsets.c: bootrom-asm-offsets.c.in bootrom-asm-offsets.awk $(obj)bootrom-asm-offsets.c: bootrom-asm-offsets.c.in bootrom-asm-offsets.awk

@ -29,7 +29,7 @@ include $(TOPDIR)/config.mk
CFLAGS += -DBFIN_BOARD_NAME='"$(BOARD)"' CFLAGS += -DBFIN_BOARD_NAME='"$(BOARD)"'
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += ins.o SOBJS-y += ins.o
SOBJS-y += memcmp.o SOBJS-y += memcmp.o
@ -53,7 +53,7 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o start16.o resetvec.o START = start.o start16.o resetvec.o
COBJS = interrupts.o cpu.o COBJS = interrupts.o cpu.o
@ -38,7 +38,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -29,7 +29,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB := $(obj)lib$(SOC).a LIB := $(obj)lib$(SOC).o
COBJS-$(CONFIG_SYS_SC520) += sc520.o COBJS-$(CONFIG_SYS_SC520) += sc520.o
COBJS-$(CONFIG_SYS_SC520_SSI) += sc520_ssi.o COBJS-$(CONFIG_SYS_SC520_SSI) += sc520_ssi.o
@ -44,7 +44,7 @@ OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += bios.o SOBJS-y += bios.o
SOBJS-y += bios_pci.o SOBJS-y += bios_pci.o
@ -47,7 +47,7 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
# CFLAGS += -DET_DEBUG # CFLAGS += -DET_DEBUG
LIB = lib$(CPU).a LIB = lib$(CPU).o
START = start.o START = start.o
COBJS = cpu.o speed.o cpu_init.o interrupts.o COBJS = cpu.o speed.o cpu_init.o interrupts.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
# CFLAGS += -DET_DEBUG # CFLAGS += -DET_DEBUG
LIB = lib$(CPU).a LIB = lib$(CPU).o
START = start.o START = start.o
COBJS = cpu.o speed.o cpu_init.o interrupts.o COBJS = cpu.o speed.o cpu_init.o interrupts.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
# CFLAGS += -DET_DEBUG # CFLAGS += -DET_DEBUG
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = interrupts.o cpu.o speed.o cpu_init.o COBJS = interrupts.o cpu.o speed.o cpu_init.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
# CFLAGS += -DET_DEBUG # CFLAGS += -DET_DEBUG
LIB = lib$(CPU).a LIB = lib$(CPU).o
START = START =
COBJS = cpu.o speed.o cpu_init.o interrupts.o COBJS = cpu.o speed.o cpu_init.o interrupts.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
# CFLAGS += -DET_DEBUG # CFLAGS += -DET_DEBUG
LIB = lib$(CPU).a LIB = lib$(CPU).o
START = start.o START = start.o
COBJS = cpu.o speed.o cpu_init.o interrupts.o pci.o COBJS = cpu.o speed.o cpu_init.o interrupts.o pci.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
# CFLAGS += -DET_DEBUG # CFLAGS += -DET_DEBUG
LIB = lib$(CPU).a LIB = lib$(CPU).o
START = START =
COBJS = cpu.o speed.o cpu_init.o pci.o interrupts.o slicetimer.o COBJS = cpu.o speed.o cpu_init.o pci.o interrupts.o slicetimer.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += SOBJS-y +=
@ -38,7 +38,7 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
SOBJS = irq.o SOBJS = irq.o
@ -36,7 +36,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += SOBJS-y +=
@ -35,7 +35,7 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
SOBJS-y = cache.o SOBJS-y = cache.o
@ -41,7 +41,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += SOBJS-y +=
@ -39,7 +39,7 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
SOBJS = exceptions.o SOBJS = exceptions.o
@ -36,7 +36,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += cache.o SOBJS-y += cache.o
@ -36,7 +36,7 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
SOBJS = cache.o kgdb.o io.o SOBJS = cache.o kgdb.o io.o
@ -39,7 +39,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -24,7 +24,7 @@ include $(TOPDIR)/config.mk
$(shell mkdir -p $(OBJTREE)/board/freescale/common) $(shell mkdir -p $(OBJTREE)/board/freescale/common)
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS-y := cpu.o COBJS-y := cpu.o
@ -50,7 +50,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -35,7 +35,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = serial.o cpu.o cpu_init.o interrupts.o traps.o speed.o spi.o COBJS = serial.o cpu.o cpu_init.o interrupts.o traps.o speed.o spi.o
@ -47,7 +47,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
SOBJS = io.o firmware_sc_task_bestcomm.impl.o SOBJS = io.o firmware_sc_task_bestcomm.impl.o
@ -37,7 +37,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
SOBJS = io.o fec_dma_tasks.o SOBJS = io.o fec_dma_tasks.o
@ -38,7 +38,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -27,7 +27,7 @@ $(shell mkdir -p $(obj)drivers/epic)
$(shell mkdir -p $(obj)drivers/i2c) $(shell mkdir -p $(obj)drivers/i2c)
endif endif
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
COBJS = traps.o cpu.o cpu_init.o interrupts.o speed.o \ COBJS = traps.o cpu.o cpu_init.o interrupts.o speed.o \
@ -41,7 +41,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
$(obj)bedbug_603e.c: $(obj)bedbug_603e.c:
ln -sf $(src)../mpc8260/bedbug_603e.c $(obj)bedbug_603e.c ln -sf $(src)../mpc8260/bedbug_603e.c $(obj)bedbug_603e.c

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o kgdb.o START = start.o kgdb.o
COBJS = traps.o serial_smc.o serial_scc.o cpu.o cpu_init.o speed.o \ COBJS = traps.o serial_smc.o serial_scc.o cpu.o cpu_init.o speed.o \
@ -41,7 +41,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(obj)kgdb.o $(call cmd_link_o_target, $(OBJS) $(obj)kgdb.o)
######################################################################### #########################################################################

@ -25,7 +25,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -50,7 +50,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o resetvec.o START = start.o resetvec.o
SOBJS-$(CONFIG_MP) += release.o SOBJS-$(CONFIG_MP) += release.o
@ -95,7 +95,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
@ -51,7 +51,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(ASOBJS) $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
# CFLAGS += -DET_DEBUG # CFLAGS += -DET_DEBUG
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START-y += start.o START-y += start.o
START-y += kgdb.o START-y += kgdb.o
@ -54,7 +54,7 @@ START := $(addprefix $(obj),$(START-y))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(obj)kgdb.o $(call cmd_link_o_target, $(OBJS) $(obj)kgdb.o)
######################################################################### #########################################################################

@ -8,7 +8,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib8xxx.a LIB = $(obj)lib8xxx.o
ifneq ($(CPU),mpc83xx) ifneq ($(CPU),mpc83xx)
COBJS-y += cpu.o COBJS-y += cpu.o
@ -24,7 +24,7 @@ OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
include $(SRCTREE)/rules.mk include $(SRCTREE)/rules.mk

@ -8,7 +8,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)libddr.a LIB = $(obj)libddr.o
COBJS-$(CONFIG_FSL_DDR1) += main.o util.o ctrl_regs.o options.o \ COBJS-$(CONFIG_FSL_DDR1) += main.o util.o ctrl_regs.o options.o \
lc_common_dimm_params.o lc_common_dimm_params.o
@ -28,7 +28,7 @@ OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
all: $(obj).depend $(LIB) all: $(obj).depend $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
include $(SRCTREE)/rules.mk include $(SRCTREE)/rules.mk

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START := resetvec.o START := resetvec.o
START += start.o START += start.o
@ -82,7 +82,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += ppccache.o SOBJS-y += ppccache.o
SOBJS-y += ppcstring.o SOBJS-y += ppcstring.o
@ -63,7 +63,7 @@ $(LIB): $(obj).depend $(OBJS)
echo " Upgrade to a recent toolchain."; \ echo " Upgrade to a recent toolchain."; \
exit 1; \ exit 1; \
fi; fi;
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
SOBJS = start.o SOBJS = start.o
COBJS = cpu.o interrupts.o watchdog.o COBJS = cpu.o interrupts.o watchdog.o
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(OBJS) $(SOBJS) $(LIB): $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean: clean:
rm -f $(SOBJS) $(OBJS) rm -f $(SOBJS) $(OBJS)

@ -29,7 +29,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
SOBJS = start.o SOBJS = start.o
COBJS = cpu.o interrupts.o watchdog.o cache.o COBJS = cpu.o interrupts.o watchdog.o cache.o
@ -39,7 +39,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(OBJS) $(SOBJS) $(LIB): $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean: clean:
rm -f $(SOBJS) $(OBJS) rm -f $(SOBJS) $(OBJS)

@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
SOBJS = start.o SOBJS = start.o
COBJS = cpu.o interrupts.o watchdog.o cache.o COBJS = cpu.o interrupts.o watchdog.o cache.o
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(OBJS) $(SOBJS) $(LIB): $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean: clean:
rm -f $(SOBJS) $(OBJS) rm -f $(SOBJS) $(OBJS)

@ -20,7 +20,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS-y += SOBJS-y +=
@ -36,7 +36,7 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
SOBJS = SOBJS =
@ -36,7 +36,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a LIB = $(obj)lib$(CPU).o
START = start.o START = start.o
SOBJS = SOBJS =
@ -36,7 +36,7 @@ START := $(addprefix $(obj),$(START))
all: $(obj).depend $(START) $(LIB) all: $(obj).depend $(START) $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a LIB = $(obj)lib$(ARCH).o
SOBJS = SOBJS =
@ -33,7 +33,7 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
COBJS = $(BOARD).o cfm_flash.o flash.o COBJS = $(BOARD).o cfm_flash.o flash.o
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
COBJS := cpux9k2.o COBJS := cpux9k2.o
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean: clean:
rm -f $(SOBJS) $(OBJS) rm -f $(SOBJS) $(OBJS)

@ -34,7 +34,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
COBJS = $(BOARD).o flash.o COBJS = $(BOARD).o flash.o
@ -43,7 +43,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
######################################################################### #########################################################################

@ -27,7 +27,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
COBJS := edminiv2.o COBJS := edminiv2.o
@ -35,7 +35,7 @@ SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS)) OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(obj).depend $(OBJS) $(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(call cmd_link_o_target, $(OBJS))
clean: clean:
rm -f $(OBJS) rm -f $(OBJS)

@ -29,7 +29,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common) $(shell mkdir -p $(obj)../common)
endif endif
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
SOBJS = ../common/misc.o SOBJS = ../common/misc.o
@ -42,7 +42,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
######################################################################### #########################################################################

@ -29,7 +29,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common) $(shell mkdir -p $(obj)../common)
endif endif
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
SOBJS = ../common/misc.o SOBJS = ../common/misc.o
@ -42,7 +42,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
######################################################################### #########################################################################

@ -24,7 +24,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
COBJS := guruplug.o COBJS := guruplug.o
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean: clean:
rm -f $(SOBJS) $(OBJS) rm -f $(SOBJS) $(OBJS)

@ -24,7 +24,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
COBJS := mv88f6281gtw_ge.o COBJS := mv88f6281gtw_ge.o
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean: clean:
rm -f $(SOBJS) $(OBJS) rm -f $(SOBJS) $(OBJS)

@ -29,7 +29,7 @@
include $(TOPDIR)/config.mk include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a LIB = $(obj)lib$(BOARD).o
COBJS := openrd_base.o COBJS := openrd_base.o
@ -38,7 +38,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS)) SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean: clean:
rm -f $(SOBJS) $(OBJS) rm -f $(SOBJS) $(OBJS)

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save