diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-12-18 14:46:39 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-12-18 15:20:31 +0000 |
commit | bcbbef759f28e9d5e9e941a26e95959e0f641536 (patch) | |
tree | c0727abb2fbc37c2699860fa5888cb6ae1cce2f1 /main/linux-lts/APKBUILD | |
parent | 07a3d4a7f0e3bed7d1123a2897774ec4d35293de (diff) | |
download | aports-bcbbef759f28e9d5e9e941a26e95959e0f641536.tar.bz2 aports-bcbbef759f28e9d5e9e941a26e95959e0f641536.tar.xz |
main/linux-lts: also package .dtb files on aarch64
Diffstat (limited to 'main/linux-lts/APKBUILD')
-rw-r--r-- | main/linux-lts/APKBUILD | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/main/linux-lts/APKBUILD b/main/linux-lts/APKBUILD index 7b934a8719..e1889d628a 100644 --- a/main/linux-lts/APKBUILD +++ b/main/linux-lts/APKBUILD @@ -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 |