]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/atmel/at91sam9260ek/Makefile
board: arm: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / atmel / at91sam9260ek / Makefile
index a9490005733da83f17581f9561e62915453c0a12..c6edbeee243823a06520e50edc0e5592093d8a22 100644 (file)
@@ -9,26 +9,6 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS-y        += at91sam9260ek.o
-COBJS-y        += led.o
-COBJS-$(CONFIG_HAS_DATAFLASH) += 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  += at91sam9260ek.o
+obj-y  += led.o
+obj-$(CONFIG_HAS_DATAFLASH) += partition.o