diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-21 11:53:32 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-01 11:42:11 -0400 |
commit | 547bb1edbfdecdf9d1a1a234382487a668064a2a (patch) | |
tree | bc11c2ff1651fe2c261aa1dd77d34e198bb98d13 /arch/nds32/lib | |
parent | f6e2c0f3e3bcb7c0b520b0e65de3f080f831fcf7 (diff) | |
download | u-boot-imx-547bb1edbfdecdf9d1a1a234382487a668064a2a.zip u-boot-imx-547bb1edbfdecdf9d1a1a234382487a668064a2a.tar.gz u-boot-imx-547bb1edbfdecdf9d1a1a234382487a668064a2a.tar.bz2 |
nds32: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Macpaul Lin <macpaul@gmail.com>
Diffstat (limited to 'arch/nds32/lib')
-rw-r--r-- | arch/nds32/lib/Makefile | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/arch/nds32/lib/Makefile b/arch/nds32/lib/Makefile index 2f7e155..6ea96db 100644 --- a/arch/nds32/lib/Makefile +++ b/arch/nds32/lib/Makefile @@ -9,26 +9,7 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(ARCH).o - -COBJS-y += board.o -COBJS-y += cache.o -COBJS-$(CONFIG_CMD_BOOTM) += bootm.o -COBJS-y += interrupts.o - -SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) - -$(LIB): $(obj).depend $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y += board.o +obj-y += cache.o +obj-$(CONFIG_CMD_BOOTM) += bootm.o +obj-y += interrupts.o |