diff options
Diffstat (limited to 'libre/linux-libre-tools/PKGBUILD')
-rw-r--r-- | libre/linux-libre-tools/PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD index 7e988e5dc..af26e178d 100644 --- a/libre/linux-libre-tools/PKGBUILD +++ b/libre/linux-libre-tools/PKGBUILD @@ -3,7 +3,8 @@ # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> pkgbase=linux-libre-tools -pkgname=('libtraceevent-libre' 'perf-libre' 'cpupower-libre' 'x86_energy_perf_policy-libre' 'usbip-libre') +pkgname=('libtraceevent-libre' 'perf-libre' 'cpupower-libre' 'usbip-libre') +[ "$CARCH" != "mips64el" ] && pkgname+=('x86_energy_perf_policy-libre') _basekernel=3.7 #_sublevel=1 #pkgver=${_basekernel}.${_sublevel} @@ -72,10 +73,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 |