diff options
| author | Masahiro Yamada <[email protected]> | 2013-10-21 11:53:31 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2013-10-31 13:26:45 -0400 |
| commit | f6e2c0f3e3bcb7c0b520b0e65de3f080f831fcf7 (patch) | |
| tree | f7dbfbcda0233f263f603837e8b7c67a78eca448 /arch/mips/cpu/mips64 | |
| parent | a71a36f69200d5f515954035b0595ba6dbf707f6 (diff) | |
mips: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Diffstat (limited to 'arch/mips/cpu/mips64')
| -rw-r--r-- | arch/mips/cpu/mips64/Makefile | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/arch/mips/cpu/mips64/Makefile b/arch/mips/cpu/mips64/Makefile index b4adb950a2f..899c319c9a9 100644 --- a/arch/mips/cpu/mips64/Makefile +++ b/arch/mips/cpu/mips64/Makefile @@ -5,25 +5,5 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(CPU).o - -START = start.o -COBJS-y = cpu.o interrupts.o time.o cache.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 interrupts.o time.o cache.o |
