summaryrefslogtreecommitdiffstats
path: root/board/freescale/common/p_corenet/Makefile
diff options
context:
space:
mode:
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 f37b25cf83..889c4938c0 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
OpenPOWER on IntegriCloud