summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-tools/PKGBUILD')
-rw-r--r--libre/linux-libre-tools/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD
index 56434d802..f29e3aa1c 100644
--- a/libre/linux-libre-tools/PKGBUILD
+++ b/libre/linux-libre-tools/PKGBUILD
@@ -7,7 +7,6 @@ pkgname=('linux-libre-tools-meta'
'libtraceevent-libre'
'perf-libre'
'cpupower-libre'
- 'x86_energy_perf_policy-libre'
'usbip-libre')
_basekernel=3.9
#_sublevel=6
@@ -73,10 +72,12 @@ build() {
make VERSION=$pkgver-$pkgrel
popd
- msg2 'Build x86_energy_perf_policy-libre'
- pushd linux-$pkgver/tools/power/x86/x86_energy_perf_policy
- make
- popd
+ if [ "$CARCH" != "mips64el" ]; then
+ msg2 'Build x86_energy_perf_policy-libre'
+ pushd linux-$pkgver/tools/power/x86/x86_energy_perf_policy
+ make
+ popd
+ fi
msg2 'Build usbip-libre'
pushd linux-$pkgver/drivers/staging/usbip/userspace
@@ -91,7 +92,8 @@ build() {
package_linux-libre-tools-meta() {
pkgdesc='Linux kernel tools meta package'
groups=()
- depends=('libtraceevent-libre' 'perf-libre' 'cpupower-libre' 'x86_energy_perf_policy-libre' 'usbip-libre')
+ depends=('libtraceevent-libre' 'perf-libre' 'cpupower-libre' 'usbip-libre')
+ [ "$CARCH" != "mips64el" ] && depends+=('x86_energy_perf_policy-libre')
replaces=('linux-tools-meta')
conflicts=('linux-tools-meta')
provides=("linux-tools-meta=$pkgver")