]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/schulercontrol/sc_sps_1/Makefile
board: arm: convert makefiles to Kbuild style
[people/ms/u-boot.git] / board / schulercontrol / sc_sps_1 / Makefile
index 81482e30da8ed1aca699e721b598285be0e652f0..df72fc9f55d733dbe28212a5cc496d3ec93f70e6 100644 (file)
@@ -5,27 +5,8 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(BOARD).o
-
 ifndef CONFIG_SPL_BUILD
-COBJS  := sc_sps_1.o
+obj-y  := sc_sps_1.o
 else
-COBJS  := spl_boot.o
+obj-y  := spl_boot.o
 endif
-
-SRCS   := $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS))
-
-$(LIB):        $(obj).depend $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################