]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/spear/spear300/Makefile
board: arm: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / spear / spear300 / Makefile
index 63ff1d5e563d2efffb666af40e5d451ab14e8e70..84d05e332e60e6bbf8aabcd732db8a44e5b43d93 100644 (file)
@@ -5,25 +5,4 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS  := spear300.o
-SOBJS  :=
-
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS))
-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  := spear300.o