about summary refs log tree commit diff stats
path: root/core/ports/linux-crux/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'core/ports/linux-crux/Pkgfile')
-rw-r--r--core/ports/linux-crux/Pkgfile39
1 files changed, 0 insertions, 39 deletions
diff --git a/core/ports/linux-crux/Pkgfile b/core/ports/linux-crux/Pkgfile
deleted file mode 100644
index 9df4065..0000000
--- a/core/ports/linux-crux/Pkgfile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Description:  Linux libre kernel that comes with blobs
-# URL:          http://linux-libre.fsfla.org
-# Maintainer:   Silvino, silvino at bk dot ru
-# Depends on:   grub2 dracut
-
-name=linux-crux
-version=4.1.34
-release=1
-source=(https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-$version.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() {
-	cd linux-$version
-
-        mkdir -p $PKG/usr/src
-        cp $SRC/enable_additional_cpu_optimizations_for_gcc_v4.9%2B_kernel_v3.15%2B.patch $PKG/usr/src/cpu_optimizations.patch
-
-        cp ../linux-$version.defconfig $PKG/usr/src/
-
-        make distclean
-
-        cp ../linux-$version.defconfig .config
-
-        make silentoldconfig
-        # make localmodconfig
-
-        make -j $(nproc) all
-        make INSTALL_MOD_PATH=$PKG modules_install
-
-        install -m 0644 -D arch/x86_64/boot/bzImage $PKG/boot/vmlinuz-$version-crux
-        install -m 0644  System.map $PKG/boot/System.map-$version-$release
-        install -m 0644 .config $PKG/boot/config-$version-crux
-
-        rm $PKG/lib/modules/${version}_crux/source
-        rm $PKG/lib/modules/${version}_crux/build
-        #ln /usr/src/linux-$version $PKG/lib/modules/$version-$release/build
-        #ln /usr/src/linux-$version $PKG/lib/modules/$version-$release/source
-}