diff options
Diffstat (limited to 'libre/linux-libre-tools/PKGBUILD')
-rw-r--r-- | libre/linux-libre-tools/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD index 66e4551bd..979401a46 100644 --- a/libre/linux-libre-tools/PKGBUILD +++ b/libre/linux-libre-tools/PKGBUILD @@ -7,8 +7,8 @@ pkgname=('linux-libre-tools-meta' 'libtraceevent-libre' 'perf-libre' 'cpupower-libre' - 'x86_energy_perf_policy-libre' 'usbip-libre') +[ "$CARCH" != "mips64el" ] && pkgname+=('x86_energy_perf_policy-libre') _basekernel=3.8 #_sublevel=6 _pkgver=$_basekernel.$_sublevel @@ -73,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 @@ -91,7 +93,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") |