blob: f153feb09f9e2526526a1be6cc49100e6b17a5d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Description: Linux 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.30
release=1
source=(https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.1.30.tar.xz \
linux-$version.defconfig)
build() {
cd linux-$version
make distclean
cp $SRC/linux-$version.defconfig .config
make silentoldconfig
make all
make INSTALL_MOD_PATH=$PKG modules_install
rm $PKG/lib/modules/$version-crux/source
ln -s /usr/src/linux-$version $PKG/lib/modules/$version-crux/source
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
install -m 0644 -D $SRC/linux-$version.defconfig $PKG/usr/src/linux-$version-crux-$release.defconfig
}
|