aboutsummaryrefslogtreecommitdiff
path: root/board/openrisc
diff options
context:
space:
mode:
authorMasahiro Yamada2013-10-21 11:53:29 +0900
committerTom Rini2013-10-31 13:26:45 -0400
commitf7178eb01160fc639d363fca38ac9bfab38eabd8 (patch)
tree2bc782ece5bfb7f5a4e96a85abff5cbc952f3b79 /board/openrisc
parent8fb80a8bb4730c654cc51c27c767e215cfd4d64b (diff)
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 'board/openrisc')
-rw-r--r--board/openrisc/openrisc-generic/Makefile21
1 files changed, 1 insertions, 20 deletions
diff --git a/board/openrisc/openrisc-generic/Makefile b/board/openrisc/openrisc-generic/Makefile
index bd15345b298..342bc80450d 100644
--- a/board/openrisc/openrisc-generic/Makefile
+++ b/board/openrisc/openrisc-generic/Makefile
@@ -5,23 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(BOARD).o
-
-COBJS-y := $(BOARD).o
-
-SRCS := $(COBJS-y:.o=.c)
-OBJS := $(addprefix $(obj),$(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 := openrisc-generic.o