summaryrefslogtreecommitdiff
path: root/board/freescale/common/p_corenet/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-21 02:53:38 (GMT)
committerTom Rini <trini@ti.com>2013-11-01 15:42:12 (GMT)
commit377e1048d3065b97b21fea0763b77f1786d5b654 (patch)
tree8360f8ce656344333de7c2758335706bc3acf927 /board/freescale/common/p_corenet/Makefile
parenta79854a90f7297ddfda2114c867fd62643fa6e3a (diff)
downloadu-boot-377e1048d3065b97b21fea0763b77f1786d5b654.tar.xz
board: powerpc: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: York Sun <yorksun@freescale.com> Cc: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/freescale/common/p_corenet/Makefile')
-rw-r--r--board/freescale/common/p_corenet/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/board/freescale/common/p_corenet/Makefile b/board/freescale/common/p_corenet/Makefile
index f37b25c..889c493 100644
--- a/board/freescale/common/p_corenet/Makefile
+++ b/board/freescale/common/p_corenet/Makefile
@@ -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