community/linux-tools to 5.15-1

This commit is contained in:
David Beauchamp 2021-11-02 14:21:55 -04:00
parent 1e76a3274a
commit 1ebbf36435

View file

@ -9,6 +9,7 @@
pkgbase=linux-tools
pkgname=(
'bootconfig'
'bpf'
'cgroup_event_listener'
'cpupower'
@ -21,7 +22,7 @@ pkgname=(
'gpio-utils'
'iio-utils'
)
pkgver=5.14
pkgver=5.15
pkgrel=1
license=('GPL2')
arch=('x86_64')
@ -139,12 +140,18 @@ build() {
# runqslower, require kernel binary path to build, skip it
make -W runqslower
popd
echo ':: bootconfig'
pushd linux/tools/bootconfig
make
popd
}
package_linux-tools-meta() {
pkgdesc='Linux kernel tools meta package'
groups=()
depends=(
'bootconfig'
'bpf'
'cgroup_event_listener'
'cpupower'
@ -292,4 +299,13 @@ package_bpf() {
make -C bpftool doc-install prefix=/usr/share DESTDIR="$pkgdir"
}
package_bootconfig() {
pkgdesc='Apply, delete or show boot config to initrd'
depends=('glibc')
cd linux/tools/bootconfig
install -dm755 "$pkgdir/usr/bin"
make install DESTDIR="$pkgdir"
}
# vim:set ts=2 sw=2 et: