linux4.19: install dtbs in a kernel specific directory

[skip ci]
This commit is contained in:
marmeladema 2018-11-13 10:55:22 +00:00 committed by Helmut Pozimski
parent ad68f36f5d
commit 75268ca8ea

View file

@ -1,7 +1,7 @@
# Template file for 'linux4.19'
pkgname=linux4.19
version=4.19.1
revision=1
revision=2
patch_args="-Np1"
wrksrc="linux-${version}"
short_desc="The Linux kernel and modules (${version%.*} series)"
@ -122,13 +122,11 @@ do_install() {
;;
arm)
vinstall arch/arm/boot/zImage 644 boot
vmkdir boot/dtbs
cp arch/arm/boot/dts/*.dtb ${DESTDIR}/boot/dtbs
make ${makejobs} ARCH=${subarch:-$arch} INSTALL_DTBS_PATH=${DESTDIR}/boot/dtbs/dtbs-${_kernver} dtbs_install
;;
arm64)
vinstall arch/arm64/boot/Image 644 boot vmlinux-${_kernver}
vmkdir boot/dtbs
cp arch/arm64/boot/dts/*/*.dtb ${DESTDIR}/boot/dtbs
make ${makejobs} ARCH=${subarch:-$arch} INSTALL_DTBS_PATH=${DESTDIR}/boot/dtbs/dtbs-${_kernver} dtbs_install
;;
esac