summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/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/cpu/Makefile
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/cpu/Makefile')
-rw-r--r--arch/sandbox/cpu/Makefile23
1 files changed, 1 insertions, 22 deletions
diff --git a/arch/sandbox/cpu/Makefile b/arch/sandbox/cpu/Makefile
index e386867..404ff67 100644
--- a/arch/sandbox/cpu/Makefile
+++ b/arch/sandbox/cpu/Makefile
@@ -7,29 +7,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(CPU).o
-
-COBJS := cpu.o os.o start.o state.o
-
-SRCS := $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
-
-all: $(obj).depend $(LIB)
-
-$(LIB): $(OBJS)
- $(call cmd_link_o_target, $(OBJS))
+obj-y := cpu.o os.o start.o state.o
# os.c is build in the system environment, so needs standard includes
$(obj)os.o: ALL_CFLAGS := $(filter-out -nostdinc,$(ALL_CFLAGS))
$(obj).depend.os: CPPFLAGS := $(filter-out -nostdinc,$(CPPFLAGS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################