summaryrefslogtreecommitdiff
path: root/arch/openrisc/lib
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-21 11:53:29 +0900
committerTom Rini <trini@ti.com>2013-10-31 13:26:45 -0400
commitf7178eb01160fc639d363fca38ac9bfab38eabd8 (patch)
tree2bc782ece5bfb7f5a4e96a85abff5cbc952f3b79 /arch/openrisc/lib
parent8fb80a8bb4730c654cc51c27c767e215cfd4d64b (diff)
downloadu-boot-imx-f7178eb01160fc639d363fca38ac9bfab38eabd8.zip
u-boot-imx-f7178eb01160fc639d363fca38ac9bfab38eabd8.tar.gz
u-boot-imx-f7178eb01160fc639d363fca38ac9bfab38eabd8.tar.bz2
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/lib')
-rw-r--r--arch/openrisc/lib/Makefile27
1 files changed, 3 insertions, 24 deletions
diff --git a/arch/openrisc/lib/Makefile b/arch/openrisc/lib/Makefile
index b2218c9..dfa72d9 100644
--- a/arch/openrisc/lib/Makefile
+++ b/arch/openrisc/lib/Makefile
@@ -5,27 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(ARCH).o
-
-SOBJS-y +=
-
-COBJS-y += board.o
-COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
-COBJS-y += timer.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-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-y += timer.o