diff options
Diffstat (limited to 'testing/linux-smp/APKBUILD')
-rw-r--r-- | testing/linux-smp/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/linux-smp/APKBUILD b/testing/linux-smp/APKBUILD new file mode 100644 index 00000000..5db64c95 --- /dev/null +++ b/testing/linux-smp/APKBUILD @@ -0,0 +1,26 @@ +pkgname=linux-smp +pkgver=2.6.28.4 +pkgrel=0 +pkgdesc="Linux kernel with smp" +url="http://www.kernel.org/" +_kernver=2.6.28 +arch=i486 +makedepends="linux-sources perl" +source="kernelconfig" +subpackages="$pkgname-mod" +license=GPL-2 + +build() { + mkdir -p "$srcdir/$pkgname" + cd "$srcdir/$pkgname" + cp ../kernelconfig .config + make -C /usr/src/linux-$pkgver "O=$PWD" silentoldconfig + make || return 1 + + mkdir -p $pkgdir/boot $pkgdir/lib/modules + make modules_install install \ + INSTALL_MOD_PATH=$pkgdir \ + INSTALL_PATH=$pkgdir/boot +} + +md5sums="d555fb11fb5507dbfa50617370bc375a kernelconfig" |