summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/arm920t/at91/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/at91/Makefile
parentd8769c62c1f48818725c9741c275299b4cb86b19 (diff)
downloadblackbird-obmc-uboot-833db7405a3c8c5ed12e067717c1feb05003bbab.tar.gz
blackbird-obmc-uboot-833db7405a3c8c5ed12e067717c1feb05003bbab.zip
arm920t: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/arm920t/at91/Makefile')
-rw-r--r--arch/arm/cpu/arm920t/at91/Makefile33
1 files changed, 6 insertions, 27 deletions
diff --git a/arch/arm/cpu/arm920t/at91/Makefile b/arch/arm/cpu/arm920t/at91/Makefile
index b2b1e56a96..561b4b4cbb 100644
--- a/arch/arm/cpu/arm920t/at91/Makefile
+++ b/arch/arm/cpu/arm920t/at91/Makefile
@@ -5,30 +5,9 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(SOC).o
-
-SOBJS += lowlevel_init.o
-COBJS += reset.o
-COBJS += timer.o
-COBJS += clock.o
-COBJS += cpu.o
-COBJS += at91rm9200_devices.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
-
-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 += lowlevel_init.o
+obj-y += reset.o
+obj-y += timer.o
+obj-y += clock.o
+obj-y += cpu.o
+obj-y += at91rm9200_devices.o
OpenPOWER on IntegriCloud