From 34759446ef0c8494ebf3195d558832de2a3729cd Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Mon, 22 Aug 2016 19:57:57 +0100 Subject: added patch to linux port, gcc optimizations --- core/ports/linux-crux/Pkgfile | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.4.1-2-gfad0