]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm920t/a320/Makefile
arm920t: convert makefiles to Kbuild style
[karo-tx-uboot.git] / arch / arm / cpu / arm920t / a320 / Makefile
index 88c7d9bb717e381aa4cfc939a98b64ff53ad34b4..bbdab588c5eccd9ab3c545a531fc13e3bde6ea05 100644 (file)
@@ -5,26 +5,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(SOC).o
-
-SOBJS  += reset.o
-COBJS  += timer.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  += reset.o
+obj-y  += timer.o