Copy full headers directory into SDK 09/7909/1
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 3 Aug 2017 15:52:37 +0000 (16:52 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 3 Aug 2017 16:18:33 +0000 (17:18 +0100)
commitd576b9dbe68f9f2aa1348926d5b34a35e567c8db
tree32f147b37509ec93918ba83c7e10ab0c1149fd3f
parentea1a9bc7d8af4e18b7615923c70d0be06764c311
Copy full headers directory into SDK

The dpdk-dev SDK package is arch-dependent, as it ships a number of
binary executables.
Also using RTE_SDK does not support the multiple level of headers, so
instead of symlinking into /usr/include/dpdk copy the full set of
headers into /usr/share/dpdk/TARGET/include
Given dpkg cannot replace a symlink with a directory automatically
also generate a preinst file to handle it manually on upgrade.

Change-Id: I1fb8fbe424b8ef015c04062f2cffe9f2b9ffe02f
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
debian/dpdk-dev.preinst.in [new file with mode: 0644]
debian/rules