SPDX: Convert all of our single license tags to Linux Kernel style
[oweals/u-boot.git] / board / schulercontrol / sc_sps_1 / Makefile
index 81482e30da8ed1aca699e721b598285be0e652f0..4fb32de6e8e8bf5bd00d64d06041564c650372c0 100644 (file)
@@ -1,31 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # (C) Copyright 2000-2012
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# 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
-
-#########################################################################