diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-04 15:23:57 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-04 15:23:57 -0300 |
commit | 332613adfe388dab05ecd5300fd9f9fa91956edc (patch) | |
tree | 4d15cb0d2e0b9e3ebe548d6e54f8fe574e6c7c63 /libre/linux-libre-tools | |
parent | 1d3002e46bb10b50ac35a99b6d2e672cb2c4b2f9 (diff) |
Skip x86 package
Diffstat (limited to 'libre/linux-libre-tools')
-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 d3154ac86..2ca5039d9 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=('perf-libre' 'cpupower-libre' 'x86_energy_perf_policy-libre' 'usbip-libre') +pkgname=('perf-libre' 'cpupower-libre' 'usbip-libre') +[ "$CARCH" != "mips64el" ] && pkgname+=('x86_energy_perf_policy-libre') _basekernel=3.6 #_sublevel=1 #pkgver=${_basekernel}.${_sublevel} @@ -67,10 +68,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 |