]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/lib/Makefile
arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix GCC 4.6 warnings
[u-boot] / arch / arm / lib / Makefile
index f993d743e0712ea336e8d57187ad2216170b08a8..300c8fab2d1256436bd9579697666e2d95f2ce27 100644 (file)
@@ -26,6 +26,7 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)lib$(ARCH).o
 LIBGCC = $(obj)libgcc.o
 
+ifndef CONFIG_SPL_BUILD
 GLSOBJS        += _ashldi3.o
 GLSOBJS        += _ashrdi3.o
 GLSOBJS        += _divsi3.o
@@ -40,10 +41,12 @@ COBJS-y     += board.o
 COBJS-y        += bootm.o
 COBJS-y        += cache.o
 COBJS-y        += cache-cp15.o
+COBJS-$(CONFIG_SYS_L2_PL310) += cache-pl310.o
 COBJS-y        += interrupts.o
 COBJS-y        += reset.o
 SOBJS-$(CONFIG_USE_ARCH_MEMSET) += memset.o
 SOBJS-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o
+endif
 
 SRCS   := $(GLSOBJS:.o=.S) $(GLCOBJS:.o=.c) \
           $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)