diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-04-03 13:52:29 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-04-03 13:52:29 +0000 |
commit | 72608437010872e6654cdf4b2a032ad2ab1a645d (patch) | |
tree | 5088c1babe0482a691277a94c78720e789c2d3b9 /main/linux-grsec | |
parent | f2edee5a88189a81fdb2c3ca9e0c76936ebf1374 (diff) | |
download | aports-72608437010872e6654cdf4b2a032ad2ab1a645d.tar.bz2 aports-72608437010872e6654cdf4b2a032ad2ab1a645d.tar.xz |
main/linux-grsec: use zImage and dtbs on arm
Diffstat (limited to 'main/linux-grsec')
-rw-r--r-- | main/linux-grsec/APKBUILD | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD index 8551ef6dc..669a058fe 100644 --- a/main/linux-grsec/APKBUILD +++ b/main/linux-grsec/APKBUILD @@ -87,8 +87,26 @@ build() { package() { cd "$srcdir"/build + mkdir -p "$pkgdir"/boot "$pkgdir"/lib/modules - make -j1 modules_install firmware_install install \ + + local _install + case "$CARCH" in + arm*) + local _dtbdir="$pkgdir"/usr/lib/linux-${_abi_release} + mkdir -p "$_dtbdir" + for i in arch/arm/boot/dts/*.dtb ; do + install -m644 "$i" "$_dtbdir" + done + + _install=zinstall + ;; + *) + _install=install + ;; + esac + + make -j1 modules_install firmware_install $_install \ INSTALL_MOD_PATH="$pkgdir" \ INSTALL_PATH="$pkgdir"/boot \ || return 1 |