Commit 5fe91532 authored by Natanael Copa's avatar Natanael Copa

main/linux-grsec: use modules_prepare for the -dev package

parent f9deb936
...@@ -4,7 +4,7 @@ _flavor=grsec ...@@ -4,7 +4,7 @@ _flavor=grsec
pkgname=linux-${_flavor} pkgname=linux-${_flavor}
pkgver=3.0.4 pkgver=3.0.4
_kernver=3.0 _kernver=3.0
pkgrel=2 pkgrel=3
pkgdesc="Linux kernel with grsecurity" pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net url=http://grsecurity.net
depends="mkinitfs linux-firmware" depends="mkinitfs linux-firmware"
...@@ -106,7 +106,7 @@ dev() { ...@@ -106,7 +106,7 @@ dev() {
mkdir -p "$dir" mkdir -p "$dir"
cp "$srcdir"/$_config "$dir"/.config cp "$srcdir"/$_config "$dir"/.config
make -j1 -C "$srcdir"/linux-$_kernver O="$dir" HOSTCC="${CC:-gcc}" \ make -j1 -C "$srcdir"/linux-$_kernver O="$dir" HOSTCC="${CC:-gcc}" \
silentoldconfig prepare scripts gcc-plugins silentoldconfig prepare modules_prepare scripts
# remove the stuff that poits to real sources. we want 3rd party # remove the stuff that poits to real sources. we want 3rd party
# modules to believe this is the soruces # modules to believe this is the soruces
......
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