]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/pci405/Makefile
board: powerpc: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / esd / pci405 / Makefile
index 9f01c567863f244beba15861cf495ce3e6d3b9db..2f8706bd6e7051fbba74dad2ab52e5326b04380f 100644 (file)
@@ -5,29 +5,9 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
 ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
 endif
 
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS  = $(BOARD).o flash.o ../common/misc.o cmd_pci405.o
-SOBJS  = writeibm.o
-
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS))
-SOBJS  := $(addprefix $(obj),$(SOBJS))
-
-$(LIB):        $(OBJS) $(SOBJS)
-#      $(call cmd_link_o_target, $(OBJS))
-       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y  = pci405.o flash.o ../common/misc.o cmd_pci405.o
+obj-y  += writeibm.o