community/linux-tools to 4.10-1.1

This commit is contained in:
Kevin Mihelich 2017-02-28 01:53:16 +00:00
parent f186c6afa8
commit 4b188aa5ce

View file

@ -5,6 +5,7 @@
# - removed x86_energy_perf_policy and turbostat build/package, uses x86 asm # - removed x86_energy_perf_policy and turbostat build/package, uses x86 asm
# - removed numactl dep # - removed numactl dep
# - use tarball source # - use tarball source
# - add GPIO and IIO utilities packages
pkgbase=linux-tools pkgbase=linux-tools
pkgname=( pkgname=(
@ -15,9 +16,11 @@ pkgname=(
'perf' 'perf'
'tmon' 'tmon'
'usbip' 'usbip'
'gpio-utils'
'iio-utils'
) )
pkgver=4.10 pkgver=4.10
pkgrel=1 pkgrel=1.1
license=('GPL2') license=('GPL2')
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='https://www.kernel.org' url='https://www.kernel.org'
@ -103,6 +106,16 @@ build() {
pushd linux-$pkgver/tools/cgroup pushd linux-$pkgver/tools/cgroup
make make
popd popd
msg2 'gpio'
pushd linux-$pkgver/tools/gpio
make -j1
popd
msg2 'iio'
pushd linux-$pkgver/tools/iio
make
popd
} }
package_linux-tools-meta() { package_linux-tools-meta() {
@ -210,4 +223,20 @@ package_cgroup_event_listener() {
install -Dm755 cgroup_event_listener "$pkgdir/usr/bin/cgroup_event_listener" install -Dm755 cgroup_event_listener "$pkgdir/usr/bin/cgroup_event_listener"
} }
package_gpio-utils() {
pkgdesc='GPIO character device utilities'
depends=('glibc')
cd linux-$pkgver/tools/gpio
make install DESTDIR="$pkgdir"
}
package_iio-utils() {
pkgdesc='Industrial IO utilities'
depends=('glibc')
cd linux-$pkgver/tools/iio
make install INSTALL_ROOT="$pkgdir"
}
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et: