summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/s5pc1xx
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-17 17:34:48 +0900
committerTom Rini <trini@ti.com>2013-10-31 12:53:39 -0400
commit4e1aa8437ae5baed2be79fff09aa70a293e61467 (patch)
treebf3e5a0840d46d016113456d310506a31a33327f /arch/arm/cpu/armv7/s5pc1xx
parentce28d7ac6d64c8a730334c8584742cf7255ad318 (diff)
downloadu-boot-imx-4e1aa8437ae5baed2be79fff09aa70a293e61467.zip
u-boot-imx-4e1aa8437ae5baed2be79fff09aa70a293e61467.tar.gz
u-boot-imx-4e1aa8437ae5baed2be79fff09aa70a293e61467.tar.bz2
armv7: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/armv7/s5pc1xx')
-rw-r--r--arch/arm/cpu/armv7/s5pc1xx/Makefile27
1 files changed, 3 insertions, 24 deletions
diff --git a/arch/arm/cpu/armv7/s5pc1xx/Makefile b/arch/arm/cpu/armv7/s5pc1xx/Makefile
index 09fed66..9f43ded 100644
--- a/arch/arm/cpu/armv7/s5pc1xx/Makefile
+++ b/arch/arm/cpu/armv7/s5pc1xx/Makefile
@@ -8,28 +8,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
+obj-y = cache.o
+obj-y += reset.o
-LIB = $(obj)lib$(SOC).o
-
-SOBJS = cache.o
-SOBJS += reset.o
-
-COBJS += clock.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
-
-all: $(obj).depend $(LIB)
-
-$(LIB): $(OBJS)
- $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y += clock.o