diff mbox

[4/6] dpdk: enable PCAP support and add compiler options for default

Message ID 1431362411-8686-5-git-send-email-zoltan.kiss@linaro.org
State New
Headers show

Commit Message

Zoltan Kiss May 11, 2015, 4:40 p.m. UTC
Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
---
 helper/platform/dpdk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/helper/platform/dpdk b/helper/platform/dpdk
index 1b99a93..05c46e9 100644
--- a/helper/platform/dpdk
+++ b/helper/platform/dpdk
@@ -52,7 +52,8 @@  dpdk_build() {
     sed -ri 's,(CONFIG_RTE_MBUF_SCATTER_GATHER=).*,\1n,' "${dpdk_target}"/.config
     sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_BOND=).*,\1n,' "${dpdk_target}"/.config
     sed -ri 's,(CONFIG_RTE_LIBRTE_IP_FRAG=).*,\1n,' "${dpdk_target}"/.config
-    make -j ${NUM_CPUS} install T="${dpdk_target}" EXTRA_CFLAGS="-fPIC"
+    sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' "${dpdk_target}"/.config
+    make -j ${NUM_CPUS} install T="${dpdk_target}" EXTRA_CFLAGS="-fPIC -g -O3"
 }
 
 dpdk_cleanup(){