common/lcd.c: cleanup use of global variables
[oweals/u-boot.git] / arch / powerpc / lib / Makefile
index 844fe8636de9f2a4a92178c76a46dd4cd4ddc921..59c723b07091d0c8b111c217ef92b7034c32e9d9 100644 (file)
@@ -47,7 +47,8 @@ endif
 endif
 
 ifdef MINIMAL
-COBJS-y += cache.o
+COBJS-y += cache.o time.o
+SOBJS-y += ticks.o
 else
 
 SOBJS-y        += ppcstring.o
@@ -58,8 +59,10 @@ SOBJS-y      += reloc.o
 
 COBJS-$(CONFIG_BAT_RW) += bat_rw.o
 ifndef CONFIG_SPL_BUILD
+ifndef CONFIG_SYS_GENERIC_BOARD
 COBJS-y        += board.o
 endif
+endif
 COBJS-y        += bootm.o
 COBJS-y        += cache.o
 COBJS-y        += extable.o