]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/LaCie/netspace_v2/Makefile
board: arm: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / LaCie / netspace_v2 / Makefile
index a65b96506f74d497a3c7d927382fea18a8deb747..e5357e4bc3fbb6bc0232b804ac73d34ff7919433 100644 (file)
@@ -9,27 +9,8 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
 ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
 endif
 
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS  := $(BOARD).o ../common/common.o
-
-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  := netspace_v2.o ../common/common.o