X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fnds32%2Flib%2FMakefile;h=1a0d26f2e13c61c5c2161809d628f51e25132392;hb=eab314f5909dba208d4cb7dc5aac6ee707d5d171;hp=5de2d289dfc118f034301e358164fe6818f2c75c;hpb=1a4596601fd395f3afb8f82f3f840c5e00bdd57a;p=u-boot diff --git a/arch/nds32/lib/Makefile b/arch/nds32/lib/Makefile index 5de2d289df..1a0d26f2e1 100644 --- a/arch/nds32/lib/Makefile +++ b/arch/nds32/lib/Makefile @@ -9,23 +9,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(ARCH).o - -OBJS := board.o cache.o interrupts.o -COBJS-$(CONFIG_CMD_BOOTM) += bootm.o - -all: $(LIB) - -$(LIB): $(OBJS) $(SOBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y += cache.o +obj-$(CONFIG_CMD_BOOTM) += bootm.o +obj-y += interrupts.o