SPI: mxc_spi: delay initialisation until claim bus
[oweals/u-boot.git] / board / samsung / arndale / Makefile
index afd8db3cee0371dd1d5578d084bb1c82b8f27568..be2b3662ade637e12102a630b85f35799c1926d0 100644 (file)
@@ -4,31 +4,8 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS  += arndale_spl.o
+obj-y  += arndale_spl.o
 
 ifndef CONFIG_SPL_BUILD
-COBJS  += arndale.o
+obj-y  += arndale.o
 endif
-
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS) $(SOBJS))
-
-ALL    :=       $(obj).depend $(LIB)
-
-all:   $(ALL)
-
-$(LIB):        $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################