summaryrefslogtreecommitdiffstats
path: root/build-data/platforms/dpaa2.mk
diff options
context:
space:
mode:
authorSachin <sachin.saxena@nxp.com>2016-06-17 14:18:19 +0530
committerDamjan Marion <damarion@cisco.com>2016-06-17 12:33:43 +0000
commitbd05e17d79156fb72cb12a0d4855bfeaf44bfa32 (patch)
treeb2cc52c239c5940552de624a7de11a5df1cd4fd9 /build-data/platforms/dpaa2.mk
parent85b528e093b93e939a63cd76feef4cfa140aac6c (diff)
NXP DPAA2 Poll Mode Driver Support in DPDK
Upstreaming of DPAA2 driver changes is in progress.This patch will temporary add the support in VPP in built DPDK. Two types of changes: 1. Driver specfic independent files. No impact on any other functionality. 2. Changes in common EAL framework. These changes are done in compile time DPAA2 specific flag, so no impact is expected on other existing features if not compiling for DPAA2. Change-Id: I02abe7189313835b51ff654b4d7e566bc0fb8327 Signed-off-by: Sachin <sachin.saxena@nxp.com>
Diffstat (limited to 'build-data/platforms/dpaa2.mk')
-rw-r--r--build-data/platforms/dpaa2.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/build-data/platforms/dpaa2.mk b/build-data/platforms/dpaa2.mk
index feafd728397..7833b876475 100644
--- a/build-data/platforms/dpaa2.mk
+++ b/build-data/platforms/dpaa2.mk
@@ -24,9 +24,8 @@ dpaa2_native_tools = vppapigen
dpaa2_root_packages = vpp vlib vlib-api vnet svm vpp-api-test
# DPDK configuration parameters
-#
-# We are using external DPDK module with NXP-DPAA2 platform support.
-# Compile DPDK only if "DPDK_PATH" variable is defined where we have
+dpaa2_uses_dpdk = yes
+# Compile with external DPDK only if "DPDK_PATH" variable is defined where we have
# installed DPDK libraries and headers.
ifeq ($(PLATFORM),dpaa2)
ifneq ($(DPDK_PATH),)
@@ -35,7 +34,10 @@ dpaa2_uses_external_dpdk = yes
dpaa2_dpdk_inc_dir = $(DPDK_PATH)/include/dpdk
dpaa2_dpdk_lib_dir = $(DPDK_PATH)/lib
else
-$(error Please define path <DPDK_PATH> for installed DPDK headers and libs)
+# compile using internal DPDK + NXP DPAA2 Driver patch
+dpaa2_dpdk_arch = "armv8a"
+dpaa2_dpdk_target = "arm64-dpaa2-linuxapp-gcc"
+dpaa2_dpdk_make_extra_args = "CROSS=$(dpaa2_target)-"
endif
endif