X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fnds32%2Fcpu%2Fn1213%2Fag102%2FMakefile;h=b53a3eb5f44d08c73b9e052c999bcb10261fea51;hb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;hp=fb388f05dfbb8d73507fc48ba70c299463feea9b;hpb=0b17998e509e5614633aee0a3c5d6248f8bc580b;p=karo-tx-uboot.git diff --git a/arch/nds32/cpu/n1213/ag102/Makefile b/arch/nds32/cpu/n1213/ag102/Makefile index fb388f05df..b53a3eb5f4 100644 --- a/arch/nds32/cpu/n1213/ag102/Makefile +++ b/arch/nds32/cpu/n1213/ag102/Makefile @@ -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)