diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-21 02:53:29 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-31 17:26:45 (GMT) |
commit | f7178eb01160fc639d363fca38ac9bfab38eabd8 (patch) | |
tree | 2bc782ece5bfb7f5a4e96a85abff5cbc952f3b79 /arch/openrisc/cpu | |
parent | 8fb80a8bb4730c654cc51c27c767e215cfd4d64b (diff) | |
download | u-boot-f7178eb01160fc639d363fca38ac9bfab38eabd8.tar.xz |
openrisc: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Diffstat (limited to 'arch/openrisc/cpu')
-rw-r--r-- | arch/openrisc/cpu/Makefile | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/arch/openrisc/cpu/Makefile b/arch/openrisc/cpu/Makefile index 863d9b3..fc47d66 100644 --- a/arch/openrisc/cpu/Makefile +++ b/arch/openrisc/cpu/Makefile @@ -5,27 +5,5 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(CPU).o - -START = start.o -COBJS-y = cache.o cpu.o exceptions.o interrupts.o - -SRCS := $(START:.o=.S) $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(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 = cache.o cpu.o exceptions.o interrupts.o |