]> git.droids-corp.org - dpdk.git/commitdiff
config: add pkgconfig for arm64
authorAli Alnubani <alialnu@mellanox.com>
Thu, 28 Nov 2019 07:24:38 +0000 (07:24 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 28 Nov 2019 22:03:52 +0000 (23:03 +0100)
Meson fails to find a pkg-config executable if pkgconfig
isn't set for aarch64. The environment variable `PKG_CONFIG_PATH`
is useless in this case, and meson fails to locate dependencies
that are built in non-standard paths.

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
.travis.yml
config/arm/arm64_armada_linux_gcc
config/arm/arm64_armv8_linux_gcc
config/arm/arm64_bluefield_linux_gcc
config/arm/arm64_dpaa_linux_gcc
config/arm/arm64_emag_linux_gcc
config/arm/arm64_n1sdp_linux_gcc
config/arm/arm64_octeontx2_linux_gcc
config/arm/arm64_thunderx2_linux_gcc
config/arm/arm64_thunderx_linux_gcc
doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst

index 7b9fc6898bca2fbf9d434ac8eba2d6821cf73166..8f90d06f28abdb5ed30a14ec11a77b5aa8a6d75a 100644 (file)
@@ -17,7 +17,7 @@ addons:
 
 aarch64_packages: &aarch64_packages
   - *required_packages
-  - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross]
+  - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
 
 extra_packages: &extra_packages
   - *required_packages
index 6e6d56f6fd82e6e89901a7187fbcebe116bc182a..fa40c0398fd44a929669205ca21030ad73661682 100644 (file)
@@ -4,6 +4,7 @@ cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-ar'
 as = 'aarch64-linux-gnu-as'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index 67dd9a97d965c7e83c1f060ef0afa87d18b74792..88f0ff9dae75cf1d9617c50161814a2082598575 100644 (file)
@@ -3,6 +3,7 @@ c = 'aarch64-linux-gnu-gcc'
 cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-gcc-ar'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index 304c4073d50908167843aad3c90b25eb6632383e..86797d23cda6f7ef39d3070c1af123d11f129056 100644 (file)
@@ -3,6 +3,7 @@ c = 'aarch64-linux-gnu-gcc'
 cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-gcc-ar'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index f4b85a84b96fee7159ebd4d96e62840ab4f8f151..1a46821543e30e594093e9fdb9c7edd55c900223 100644 (file)
@@ -4,6 +4,7 @@ cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-ar'
 as = 'aarch64-linux-gnu-as'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index bcb147a5a8e5d63034b4e4edd8a75a1dd3fe03aa..8edcd3e97625818004ca2488b3a2b1fc80a9591a 100644 (file)
@@ -3,6 +3,7 @@ c = 'aarch64-linux-gnu-gcc'
 cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-gcc-ar'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index 83dad3df294f2e7c9487842c1188e2eca1cf14d8..022e0630396b33796467d13a1b5d5ed8cecd8343 100644 (file)
@@ -3,6 +3,7 @@ c = 'aarch64-linux-gnu-gcc'
 cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-gcc-ar'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index e2c0b8f728f6372dde7b9acca1f7009e27c54f74..365bd7cbdd79d155c739a46650b44ad6e3117c04 100644 (file)
@@ -3,6 +3,7 @@ c = 'aarch64-linux-gnu-gcc'
 cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-gcc-ar'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index 0dc275644d00c67e8f5b7c9999a754058d0e0fc1..2b41acc6153c53da2f7b58719dc2037c3ebe6fbf 100644 (file)
@@ -3,6 +3,7 @@ c = 'aarch64-linux-gnu-gcc'
 cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-gcc-ar'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index 14b8019989ff666712fed52b3fbec8c7b474f3d4..6572ab615d50caf109a5e42f36b306405f4932c3 100644 (file)
@@ -3,6 +3,7 @@ c = 'aarch64-linux-gnu-gcc'
 cpp = 'aarch64-linux-gnu-cpp'
 ar = 'aarch64-linux-gnu-gcc-ar'
 strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
 pcap-config = ''
 
 [host_machine]
index 6870701340070c3e7163a18a4fc8a5e4a78c8699..c5875a6d57f43f4a95b97292dc30eaeac671e158 100644 (file)
@@ -82,6 +82,12 @@ Copy the NUMA header files and lib to the cross compiler's directories:
 Cross Compiling DPDK using Meson
 --------------------------------
 
+Meson depends on pkgconfig to find the dependencies.
+The package ``pkg-config-aarch64-linux-gnu`` is required for aarch64.
+To install it in Ubuntu::
+
+   sudo apt-get install pkg-config-aarch64-linux-gnu
+
 To cross-compile DPDK on a desired target machine we can use the following
 command::