mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
Added native withlinux kernel
This commit is contained in:
parent
cc6669e3b2
commit
d57bbbf060
3 changed files with 2873 additions and 0 deletions
44
core/kernel26-withlinux-native/PKGBUILD
Normal file
44
core/kernel26-withlinux-native/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@gmail.com>
|
||||
|
||||
# This PKGBUILD makes a kernel for the DockStar with aholler's LED patches.
|
||||
|
||||
pkgname=kernel26-withlinux-native
|
||||
pkgver=2.6.34.1
|
||||
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-native.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=('d31d241dc2058698a45fe41359cafb45'
|
||||
'b92a6df65fc7d1f3780280e5252f83f3')
|
||||
LDFLAGS=""
|
||||
|
||||
build() {
|
||||
cd $srcdir/
|
||||
ln -s linux-$pkgver linux
|
||||
cd linux/
|
||||
|
||||
# Prepare for make
|
||||
mv $srcdir/sheeva-$pkgver.config .config
|
||||
|
||||
# Make!
|
||||
make clean modules uImage || return 1
|
||||
|
||||
# Pack up the created uImage
|
||||
mkdir -p $pkgdir/boot
|
||||
cp $srcdir/linux/arch/arm/boot/uImage $pkgdir/boot/uImage-withlinux-native-$pkgver
|
||||
|
||||
# Make and package kernel modules
|
||||
mkdir -p $pkgdir/{lib/modules,boot}
|
||||
make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1
|
||||
|
||||
echo "To make things safer, you will manually have to move/copy"
|
||||
echo "/boot/uImage-withlinux-native to /boot/uImage after installation."
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
post_install() {
|
||||
echo -e "\033[1mNotice\033[0m"
|
||||
echo "To make things safer, you will manually have to move/copy"
|
||||
echo "/boot/uImage-withlinux-native to /boot/uImage."
|
||||
echo ""
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
KERNEL_VERSION=.*
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
$op $*
|
2811
core/kernel26-withlinux-native/sheeva-2.6.34.1.config
Normal file
2811
core/kernel26-withlinux-native/sheeva-2.6.34.1.config
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue