linux5.4: include dt-bindings headers in -headers package

fixes building the digimend modules via dkms, reported
by @noob8650
This commit is contained in:
Helmut Pozimski 2020-01-10 13:03:06 +01:00
parent d6d613375d
commit 94e880ca0d

View file

@ -1,7 +1,7 @@
# Template file for 'linux5.4'
pkgname=linux5.4
version=5.4.10
revision=1
revision=2
wrksrc="linux-${version}"
short_desc="Linux kernel and modules (${version%.*} series)"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
@ -79,6 +79,7 @@ do_configure() {
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
}
do_build() {
local arch _cross _args
@ -99,6 +100,7 @@ do_build() {
make ARCH=$arch ${_version} ${_cross} ${makejobs} prepare
make ARCH=$arch ${_version} ${_cross} ${makejobs} ${_args}
}
do_install() {
local arch subarch _args hdrdest
@ -167,7 +169,7 @@ do_install() {
rm -rf ${DESTDIR}/usr/lib/firmware
for i in acpi asm-generic clocksource config crypto drm generated linux \
math-emu media net pcmcia scsi sound trace uapi video xen; do
math-emu media net pcmcia scsi sound trace uapi video xen dt-bindings; do
if [ -d include/$i ]; then
cp -a include/$i ${hdrdest}/include
fi