]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/nds32/cpu/n1213/ag102/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-nds32
[karo-tx-uboot.git] / arch / nds32 / cpu / n1213 / ag102 / Makefile
index fb388f05dfbb8d73507fc48ba70c299463feea9b..b53a3eb5f44d08c73b9e052c999bcb10261fea51 100644 (file)
@@ -17,15 +17,15 @@ LIB = $(obj)lib$(SOC).o
 COBJS-y        := cpu.o timer.o
 
 ifndef CONFIG_SKIP_LOWLEVEL_INIT
-SOBJS  := lowlevel_init.o
+SOBJS-y        := lowlevel_init.o
 endif
 
 ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
-SOBJS  += watchdog.o
+SOBJS-y        += watchdog.o
 endif
 
-SRCS   := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
+SRCS   := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS   := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
 
 all:   $(obj).depend $(LIB)