board: fsl: ls1028a: free up arch_misc_init
[oweals/u-boot.git] / board / creative / xfi3 / Makefile
index 4dc2b4805382a0789bb95026deef63e7ed8a3134..67d68dd6218db748d991bef57717a2be5ac43271 100644 (file)
@@ -1,31 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # (C) Copyright 2000-2006
 # 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  := xfi3.o
+obj-y  := xfi3.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
-
-#########################################################################