Commit bcbbef75 authored by Bart Ribbers's avatar Bart Ribbers Committed by Natanael Copa
Browse files

main/linux-lts: also package .dtb files on aarch64

parent 07a3d4a7
......@@ -7,7 +7,7 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=$pkgver;;
esac
pkgrel=0
pkgrel=1
pkgdesc="Linux lts kernel"
url="http://kernel.org"
depends="mkinitfs"
......@@ -135,24 +135,15 @@ _package() {
local _install
case "$CARCH" in
arm*)
local _dtbdir="$_outdir"/boot/dtbs-$_flavor
mkdir -p "$_dtbdir"
for i in arch/arm/boot/dts/*.dtb ; do
install -m644 "$i" "$_dtbdir"
done
_install=zinstall
;;
*)
_install=install
;;
arm*|aarch64) _install="zinstall dtbs_install";;
*) _install=install;;
esac
make -j1 modules_install $_install \
ARCH="$_carch" \
INSTALL_MOD_PATH="$_outdir" \
INSTALL_PATH="$_outdir"/boot
INSTALL_PATH="$_outdir"/boot \
INSTALL_DTBS_PATH="$_outdir/boot/dtbs-$_flavor"
cp Module.symvers.backup Module.symvers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment