4 pkgdesc='The linux kernel for Sun Cobalt RAQ550 machines'
8 url='http://www.kernel.org/'
14 makedepends=('gcc' 'gzip' 'patch')
17 "http://www.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2"
19 "linux-cobalt-$pkgver.patch"
22 'bb3f3af4d8feb3b81a2f14aa90186316'
23 'd79c0b821a4b21c63704ffadfb378b25'
24 'c7ab2a48a3da3acc1fb3009a75db01ea'
29 cat config-raq550.conf > $startdir/src/linux-$pkgver/.config
31 # cd to the kernel build directory
32 cd $startdir/src/linux-$pkgver/
34 # Patch the kernel for supporting specific Sun Cobalt hardware
35 patch -p0 < $startdir/linux-cobalt-$pkgver.patch
37 # Make necessary directories
38 mkdir -p $startdir/pkg/boot
40 # Make the boot image and kernel modules
44 # Install kernel modules
45 make INSTALL_MOD_PATH=$startdir/pkg modules_install
48 gzip -9 -c $startdir/src/linux-$pkgver/vmlinux > $startdir/pkg/boot/vmlinux.gz