]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/afeb9260/Makefile
board: arm: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / afeb9260 / Makefile
index dcf926c75ba6b951259c3b6dec025f386d3f08e2..e0c3cd5422f1d3c5af8f6d45bd5eb430375a164d 100644 (file)
@@ -9,25 +9,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS-y        += afeb9260.o
-COBJS-y        += partition.o
-
-SRCS   := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS-y))
-SOBJS  := $(addprefix $(obj),$(SOBJS))
-
-$(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y  += afeb9260.o
+obj-y  += partition.o