aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-pktio-dpdk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-pktio-dpdk')
-rwxr-xr-xscripts/build-pktio-dpdk5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build-pktio-dpdk b/scripts/build-pktio-dpdk
index 97916c1e1..26afd97c9 100755
--- a/scripts/build-pktio-dpdk
+++ b/scripts/build-pktio-dpdk
@@ -28,12 +28,13 @@ sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config
popd
#Build DPDK
-make install T=${TARGET} EXTRA_CFLAGS="-fPIC"
+make build O=${TARGET} EXTRA_CFLAGS="-fPIC"
+make install O=${TARGET} DESTDIR=${TARGET}
popd
#Build ODP
./bootstrap;
./configure --enable-test-vald --enable-test-perf --enable-test-cpp \
--enable-debug --enable-debug-print \
- --with-dpdk-path=`pwd`/dpdk/${TARGET}
+ --with-dpdk-path=`pwd`/dpdk/${TARGET}/usr/local
make