]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ppcag/bg0900/Makefile
Merge branch 'iu-boot/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / board / ppcag / bg0900 / Makefile
index e17c0a5991b6a30436c68e1e122f04395168725d..74c6db5b1524b39f62003bd46185753a7f381a1a 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  := bg0900.o
+obj-y  := bg0900.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
-
-#########################################################################