diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-21 02:53:31 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-31 17:26:45 (GMT) |
commit | f6e2c0f3e3bcb7c0b520b0e65de3f080f831fcf7 (patch) | |
tree | f7dbfbcda0233f263f603837e8b7c67a78eca448 /arch/mips/cpu/xburst | |
parent | a71a36f69200d5f515954035b0595ba6dbf707f6 (diff) | |
download | u-boot-f6e2c0f3e3bcb7c0b520b0e65de3f080f831fcf7.tar.xz |
mips: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'arch/mips/cpu/xburst')
-rw-r--r-- | arch/mips/cpu/xburst/Makefile | 30 |
1 files changed, 3 insertions, 27 deletions
diff --git a/arch/mips/cpu/xburst/Makefile b/arch/mips/cpu/xburst/Makefile index bf58e04..57714d0 100644 --- a/arch/mips/cpu/xburst/Makefile +++ b/arch/mips/cpu/xburst/Makefile @@ -4,30 +4,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(CPU).o - -START = start.o -SOBJS-y = -COBJS-y = cpu.o timer.o jz_serial.o - -COBJS-$(CONFIG_JZ4740) += jz4740.o - -SRCS := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) -START := $(addprefix $(obj),$(START)) - -all: $(obj).depend $(START) $(LIB) - -$(LIB): $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +extra-y = start.o +obj-y = cpu.o timer.o jz_serial.o +obj-$(CONFIG_JZ4740) += jz4740.o |