]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm920t/s3c24x0/Makefile
arm920t: convert makefiles to Kbuild style
[karo-tx-uboot.git] / arch / arm / cpu / arm920t / s3c24x0 / Makefile
index 97175330ec6ae1bd40c3ab3f3e515d4f31e8d281..e44c549ba034809e1c8e6d8509b2146dbdd3dc96 100644 (file)
@@ -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