diff options
author | Josep Puigdemont <josep.puigdemont@linaro.org> | 2018-03-09 16:58:15 +0100 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-03-13 19:26:03 +0300 |
commit | 9a1d48b1262d88e55922c4e1ed9f91ed2e3376d7 (patch) | |
tree | 6e8694a786227897cd978390a85c0489aa8d36c9 /scripts | |
parent | 1e70adc3ae54b0c4518bdb51d94301f1dafe4ebf (diff) |
odp_dpdk.m4: use correct installation directory
We are currently using the include path used when building DPDK, however
when installing DPDK, the headers are put in ${prefix}/include/dpdk.
We should use the latter in our include path.
Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-pktio-dpdk | 5 |
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 |