# Maintainer: Mike Staszel # This PKGBUILD builds a kernel using cbxbiker's With-Linux configuration. pkgname=kernel26-withlinux pkgver=2.6.35.6 pkgrel=1 pkgdesc="The Linux Kernel and modules from WithLinux, natively compiled" arch=('arm') license=('GPL2') url="http://www.kernel.org" depends=('coreutils' 'module-init-tools') makedepends=('uboot-mkimage') conflicts=('kernel26') provides=('kernel26') install=kernel26-withlinux.install source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2 http://sheeva.with-linux.com/sheeva/$pkgver/sheeva-$pkgver.config) md5sums=('26ff1af2a0a398d3b6ef60bb8ce311d4' 'ae6ec897eeae3f92d6363e571a2068fa') LDFLAGS="" build() { cd $srcdir/linux-$pkgver # Prepare for make mv $srcdir/sheeva-$pkgver.config .config # Make! make modules uImage || return 1 # Pack up the created uImage mkdir -p $pkgdir/boot cp $srcdir/linux-$pkgver/arch/arm/boot/uImage $pkgdir/boot/uImage # Make and package kernel modules mkdir -p $pkgdir/{lib/modules,boot} make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1 }