]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/arm926ejs/Makefile
mx25: Clean up clocks API
[u-boot] / arch / arm / cpu / arm926ejs / Makefile
index 930e0d1bfc5d32fee79f3772508d0f1882433578..5923e6548f5da5a347d026e3ee55adb9054e4291 100644 (file)
@@ -26,7 +26,13 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)lib$(CPU).o
 
 START  = start.o
-COBJS  = cpu.o
+COBJS  = cpu.o cache.o
+
+ifdef  CONFIG_SPL_BUILD
+ifdef  CONFIG_SPL_NO_CPU_SUPPORT_CODE
+START  :=
+endif
+endif
 
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS) $(SOBJS))