Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Description: Linux
- # URL: http://www.kernel.org
- # Maintainer: Erick Sitter, Latest mainline kernels
- # Depends on:
- version=3.10-rc1
- name=linux-${version}
- release=1
- source=(http://www.kernel.org/pub/linux/kernel/v3.x/testing//$name.tar.bz2)
- build()
- {
- cp $name /usr/src/
- cd /usr/src
- ln -s $name linux
- cd linux
- make clean
- make menuconfig
- make && make modules_install
- install -m 644 -D arch/x86_64/boot/bzImage $PKG/boot/vmlinuz-$version
- install -m 644 System.map $PKG/boot/System.map-$version
- install -m 644 .config $PKG/boot/config-$version
- cd ..
- cd $PKG/lib/modules/$version
- ln -sf /usr/src/$name build
- ln -sf /usr/src/$name source
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement