mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/linux-tools to 4.20-1
This commit is contained in:
parent
9216793a4d
commit
16c42517ec
1 changed files with 24 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
pkgbase=linux-tools
|
||||
pkgname=(
|
||||
'bpf'
|
||||
'cgroup_event_listener'
|
||||
'cpupower'
|
||||
'hyperv'
|
||||
|
@ -19,7 +20,7 @@ pkgname=(
|
|||
'gpio-utils'
|
||||
'iio-utils'
|
||||
)
|
||||
pkgver=4.19
|
||||
pkgver=4.20
|
||||
pkgrel=1
|
||||
license=('GPL2')
|
||||
arch=('x86_64')
|
||||
|
@ -44,7 +45,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz"
|
|||
'cpupower.systemd'
|
||||
'cpupower.service'
|
||||
'usbipd.service')
|
||||
md5sums=('bee5fe53ee1c3142b8f0c12c0d3348f9'
|
||||
md5sums=('d39dd4ba2d5861c54b90d49be19eaf31'
|
||||
'56883c159381ba89e50ab8ea65efec77'
|
||||
'34f5ecc19770a1abbcd0fd65bfd1f065'
|
||||
'86c4e419e4ba80835c330d49ba3f56ad'
|
||||
|
@ -123,12 +124,22 @@ build() {
|
|||
pushd linux-$pkgver/tools/iio
|
||||
make
|
||||
popd
|
||||
|
||||
msg2 'bpf'
|
||||
pushd linux/tools/bpf
|
||||
# doesn't compile when we don't first compile bpftool in its directory
|
||||
cd bpftool
|
||||
make
|
||||
cd ..
|
||||
make
|
||||
popd
|
||||
}
|
||||
|
||||
package_linux-tools-meta() {
|
||||
pkgdesc='Linux kernel tools meta package'
|
||||
groups=()
|
||||
depends=(
|
||||
'bpf'
|
||||
'cgroup_event_listener'
|
||||
'cpupower'
|
||||
'hyperv'
|
||||
|
@ -259,4 +270,15 @@ package_iio-utils() {
|
|||
make install DESTDIR="$pkgdir"
|
||||
}
|
||||
|
||||
package_bpf() {
|
||||
pkgdesc='BPF tools'
|
||||
depends=('glibc')
|
||||
|
||||
cd linux/tools/bpf
|
||||
make install prefix=/usr DESTDIR="$pkgdir"
|
||||
# fix bpftool hard written path
|
||||
mv "$pkgdir"/usr/sbin/bpftool "$pkgdir"/usr/bin/bpftool
|
||||
rmdir "$pkgdir"/usr/sbin
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue