+ # backward compatibility: to ease things for the majority of users,
+ # which are on x86_64, symlink the x86 headers into the global
+ # directory.
+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
+ # 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