]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/mpl/pip405/Makefile
board: powerpc: convert makefiles to Kbuild style
[people/ms/u-boot.git] / board / mpl / pip405 / Makefile
index 0d40d3ab5f93c1acf4a18281f591997199ed1e24..3d73cc3f8d6979900d73ad9771f83e20f86b8edf 100644 (file)
@@ -5,34 +5,14 @@
 # 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 cmd_pip405.o \
+obj-y  = pip405.o cmd_pip405.o \
                ../common/pci.o \
                ../common/isa.o \
                ../common/kbd.o \
                ../common/usb_uhci.o \
                ../common/common_util.o
-
-SOBJS  = init.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) $(SOBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y  += init.o