]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm920t/Makefile
sunxi: add sun7i dram setup support
[karo-tx-uboot.git] / arch / arm / cpu / arm920t / Makefile
index 4758f025a0c136be5b3e3a66eeea6d13bcca8e02..aac8043f6a8d0039ed8298164dfd0d6fc571955d 100644 (file)
@@ -5,29 +5,7 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
+extra-y        = start.o
 
-LIB    = $(obj)lib$(CPU).o
-
-START  = start.o
-
-COBJS-y        += cpu.o
-COBJS-$(CONFIG_USE_IRQ)        += interrupts.o
-
-SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
-START  := $(addprefix $(obj),$(START))
-
-all:   $(obj).depend $(START) $(LIB)
-
-$(LIB):        $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y  += cpu.o
+obj-$(CONFIG_USE_IRQ)  += interrupts.o