summaryrefslogtreecommitdiff
path: root/arch/sandbox/lib
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
parentdcbd48917ea5fb667337198aa751fa2920f5a6f8 (diff)
downloadu-boot-imx-7cf40824bea10590cf2bb14ecfaa4c14ee907017.zip
u-boot-imx-7cf40824bea10590cf2bb14ecfaa4c14ee907017.tar.gz
u-boot-imx-7cf40824bea10590cf2bb14ecfaa4c14ee907017.tar.bz2
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')
-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 993fb4e..4c1a38d 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