]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/freescale/common/p_corenet/Makefile
board: powerpc: convert makefiles to Kbuild style
[people/ms/u-boot.git] / board / freescale / common / p_corenet / Makefile
index f37b25cf834ef3bb92cfd706781511d01269b90e..889c4938c00d538f2dabb6751e1993bac0b6b309 100644 (file)
@@ -4,12 +4,9 @@
 #
 # SPDX-License-Identifier:     GPL-2.0+
 #
-include $(TOPDIR)/config.mk
 
-LIB    = libp_corenet.o
+CPPFLAGS += -I$(TOPDIR)
 
-COBJS-y                        += law.o
-COBJS-$(CONFIG_PCI)    += pci.o
-COBJS-y                        += tlb.o
-
-include $(TOPDIR)/post/rules.mk
+obj-y                  += law.o
+obj-$(CONFIG_PCI)      += pci.o
+obj-y                  += tlb.o