summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2017-08-03 10:08:39 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2017-11-09 08:22:55 +0000
commita551914bc181c053336bc32fc751100205fce4f1 (patch)
tree7f6d9e5ef28ad29268758d594afe7ea5c1057ca4
parent5bfccc08ec0e9ccd3e4da4efc9e971f14d3a97f0 (diff)
DTS compatibility: symlink aarch64 headers17.11.x
Due to a way how DTS is written and that we release DPDK not DTS (which we use to test DPDK) we symlink all aarch64 headers to keep backward compatibility. It is the same as commit 6be00c99dd80857dab8f7e8cffc23501fb2917fa did for x86-64 architecture
-rw-r--r--debian/changelog5
-rwxr-xr-xdebian/rules5
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index d710c41..91e96d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
dpdk (17.11-rc3-1~git1) UNRELEASED; urgency=medium
+ [ Luca Boccassi ]
* New upstream RC 17.11-rc3.
* Bump ABI version of packages from 17.08 to 17.11.
* Fix upstream version parsing in d/rules to account for -rcX.
@@ -16,6 +17,10 @@ dpdk (17.11-rc3-1~git1) UNRELEASED; urgency=medium
compatibility with Ubuntu 16.04, which does not yet have that
of debhelper.
+ [ Marcin Juszkiewicz ]
+ * To ensure backward compatibility (to get DTS working) symlink aarch64
+ headers in /usr/include/dpdk.
+
-- Luca Boccassi <lboccass@brocade.com> Mon, 16 Oct 2017 14:47:09 +0100
dpdk (17.08-1~git1) UNRELEASED; urgency=medium
diff --git a/debian/rules b/debian/rules
index 4ae33c8..b1ea081 100755
--- a/debian/rules
+++ b/debian/rules
@@ -297,6 +297,11 @@ ifeq (x86_64-linux-gnu,$(DEB_HOST_MULTIARCH))
ln -rs debian/libdpdk-dev/usr/include/$(DEB_HOST_MULTIARCH)/dpdk/*.h \
debian/libdpdk-dev/usr/include/dpdk
endif
+# and do the same on aarch64 for Linaro work
+ifeq (aarch64-linux-gnu,$(DEB_HOST_MULTIARCH))
+ ln -rs debian/libdpdk-dev/usr/include/$(DEB_HOST_MULTIARCH)/dpdk/*.h \
+ debian/libdpdk-dev/usr/include/dpdk
+endif
# have the DKMS build include the correct per-arch directory
sed "s/@@DEB_HOST_MULTIARCH@@/$(DEB_HOST_MULTIARCH)/g" debian/dpdk-igb-uio-dkms.dkms.in > debian/dpdk-igb-uio-dkms.dkms
sed "s/@@DEB_HOST_MULTIARCH@@/$(DEB_HOST_MULTIARCH)/g" debian/dpdk-rte-kni-dkms.dkms.in > debian/dpdk-rte-kni-dkms.dkms