diff options
-rw-r--r-- | core/ports/linux-crux/Pkgfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/ports/linux-crux/Pkgfile b/core/ports/linux-crux/Pkgfile index f153feb..92e8623 100644 --- a/core/ports/linux-crux/Pkgfile +++ b/core/ports/linux-crux/Pkgfile @@ -7,6 +7,7 @@ name=linux-crux version=4.1.30 release=1 source=(https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.1.30.tar.xz \ +https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v4.9%2B_kernel_v3.15%2B.patch linux-$version.defconfig) build() { @@ -24,6 +25,7 @@ build() { rm $PKG/lib/modules/$version-crux/source ln -s /usr/src/linux-$version $PKG/lib/modules/$version-crux/source + install -m 0644 -D $SRC/enable_additional_cpu_optimizations_for_gcc_v4.9%2B_kernel_v3.15%2B.patch $PKG/usr/src/cpu_optimizations.patch install -m 0644 -D arch/x86_64/boot/bzImage $PKG/boot/vmlinuz-$version-crux install -m 0644 System.map $PKG/boot/System.map-$version-crux install -m 0644 .config $PKG/boot/config-$version-crux |