summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm920t/s3c24x0/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-17 17:34:50 +0900
committerTom Rini <trini@ti.com>2013-10-31 12:53:39 -0400
commit833db7405a3c8c5ed12e067717c1feb05003bbab (patch)
tree44c2fae36e64259e46f67f64536fb4118df3e1a8 /arch/arm/cpu/arm920t/s3c24x0/Makefile
parentd8769c62c1f48818725c9741c275299b4cb86b19 (diff)
downloadu-boot-imx-833db7405a3c8c5ed12e067717c1feb05003bbab.zip
u-boot-imx-833db7405a3c8c5ed12e067717c1feb05003bbab.tar.gz
u-boot-imx-833db7405a3c8c5ed12e067717c1feb05003bbab.tar.bz2
arm920t: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/arm920t/s3c24x0/Makefile')
-rw-r--r--arch/arm/cpu/arm920t/s3c24x0/Makefile29
1 files changed, 4 insertions, 25 deletions
diff --git a/arch/arm/cpu/arm920t/s3c24x0/Makefile b/arch/arm/cpu/arm920t/s3c24x0/Makefile
index 9717533..e44c549 100644
--- a/arch/arm/cpu/arm920t/s3c24x0/Makefile
+++ b/arch/arm/cpu/arm920t/s3c24x0/Makefile
@@ -5,28 +5,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(SOC).o
-
-COBJS-$(CONFIG_USE_IRQ) += interrupts.o
-COBJS-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
-COBJS-y += speed.o
-COBJS-y += timer.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
-OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
-
-all: $(obj).depend $(LIB)
-
-$(LIB): $(OBJS)
- $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-$(CONFIG_USE_IRQ) += interrupts.o
+obj-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
+obj-y += speed.o
+obj-y += timer.o