summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/lib/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-17 17:35:03 +0900
committerTom Rini <trini@ti.com>2013-10-31 13:26:44 -0400
commit7cf40824bea10590cf2bb14ecfaa4c14ee907017 (patch)
tree9162847dddcdad0b1a81ab1aa5e1a2a5ec3bfd4d /arch/sandbox/lib/Makefile
parentdcbd48917ea5fb667337198aa751fa2920f5a6f8 (diff)
downloadtalos-obmc-uboot-7cf40824bea10590cf2bb14ecfaa4c14ee907017.tar.gz
talos-obmc-uboot-7cf40824bea10590cf2bb14ecfaa4c14ee907017.zip
sandbox: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/lib/Makefile')
-rw-r--r--arch/sandbox/lib/Makefile25
1 files changed, 1 insertions, 24 deletions
diff --git a/arch/sandbox/lib/Makefile b/arch/sandbox/lib/Makefile
index 993fb4e06b..4c1a38d6bc 100644
--- a/arch/sandbox/lib/Makefile
+++ b/arch/sandbox/lib/Makefile
@@ -7,28 +7,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(ARCH).o
-
-COBJS-y += interrupts.o
-
-SRCS := $(COBJS-y:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS-y))
-
-# Always build libsandbox.o
-TARGETS := $(LIB)
-
-all: $(TARGETS)
-
-$(LIB): $(obj).depend $(OBJS)
- $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y += interrupts.o
OpenPOWER on IntegriCloud