From 94e880ca0dd7c3f76da0c2a2e4f0fb1be0189c63 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Fri, 10 Jan 2020 13:03:06 +0100 Subject: [PATCH] linux5.4: include dt-bindings headers in -headers package fixes building the digimend modules via dkms, reported by @noob8650 --- srcpkgs/linux5.4/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/linux5.4/template b/srcpkgs/linux5.4/template index b074975bdd..8474a9a02e 100644 --- a/srcpkgs/linux5.4/template +++ b/srcpkgs/linux5.4/template @@ -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 " @@ -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