builddeb: generate multi-arch friendly linux-libc-dev package
authorCedric Hombourger <Cedric_Hombourger@mentor.com>
Tue, 9 Jul 2019 07:43:35 +0000 (09:43 +0200)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jul 2019 01:25:10 +0000 (10:25 +0900)
commit5a46421789f46165416d2b4834647b153c231c55
tree4dae6853dca3434db97c97840bca9e0c494139e8
parent3266c806dc8692e079768ee2814498dcd6a91e61
builddeb: generate multi-arch friendly linux-libc-dev package

Debian-based distributions place libc header files in a machine
specific directory (/usr/include/<libc-machine>) instead of
/usr/include/asm to support installation of the linux-libc-dev
package from multiple architectures. Move headers installed by
"make headers_install" accordingly using Debian's tuple from
dpkg-architecture (stored in debian/arch).

Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/builddeb
scripts/package/mkdebian