Commit 72608437 authored by Timo Teräs's avatar Timo Teräs

main/linux-grsec: use zImage and dtbs on arm

parent f2edee5a
...@@ -87,8 +87,26 @@ build() { ...@@ -87,8 +87,26 @@ build() {
package() { package() {
cd "$srcdir"/build cd "$srcdir"/build
mkdir -p "$pkgdir"/boot "$pkgdir"/lib/modules 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_MOD_PATH="$pkgdir" \
INSTALL_PATH="$pkgdir"/boot \ INSTALL_PATH="$pkgdir"/boot \
|| return 1 || return 1
......
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