helper: platform: dpdk: build shared DPDK library only

Message ID 1470323661-32260-1-git-send-email-zoltan.kiss@linaro.org
State New
Headers show

Commit Message

Zoltan Kiss Aug. 4, 2016, 3:14 p.m.
You can't build both at the same time, this switch determines that.

Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
---
 helper/platform/dpdk | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/helper/platform/dpdk b/helper/platform/dpdk
index 557196b..18bee22 100644
--- a/helper/platform/dpdk
+++ b/helper/platform/dpdk
@@ -37,6 +37,7 @@  dpdk_build() {
     dpdk_target=x86_64-native-linuxapp-gcc
     make -j ${NUM_CPUS} config T="${dpdk_target}" O="${dpdk_target}"
     sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' "${dpdk_target}"/.config
+    sed -ri 's,(CONFIG_RTE_BUILD_SHARED_LIB=).*,\1y,' "${dpdk_target}"/.config
     sed -ri 's,(CONFIG_RTE_MAX_MEMSEG=).*,\11024,' "${dpdk_target}"/.config
     make -j ${NUM_CPUS} build T="${dpdk_target}" O="${dpdk_target}" EXTRA_CFLAGS="-fPIC -g -O3"
     RETVAL=$?