aboutsummaryrefslogtreecommitdiffstats
path: root/testing/linux-smp/APKBUILD
blob: 5db64c95503d88253f60e8462d57895c6bcca8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"