temp/ofono: build with a single thread only (MR 1637)
For some reason, the ModemManager build tends to freeze when built with QEMU user emulation for arm*. Changing the build to use a single thread only (-j1) avoids that, although the build is slower of course. The same thing seems to happen fo oFono as well, so set that to -j1 too. Also limit building to "armhf armv7 aarch64" since the forks are not needed on any other architectures, to reduce build times a bit. The other architectures can just use the upstream packages from Alpine.
This commit is contained in:
parent
129b8b7318
commit
25147b4aa3
@ -6,7 +6,7 @@ _pkgver=1.31
|
||||
pkgrel=6
|
||||
pkgdesc="Infrastructure for building mobile telephony (GSM/UMTS) applications [$_pkgver]"
|
||||
url="https://01.org/ofono"
|
||||
arch="all"
|
||||
arch="armhf armv7 aarch64"
|
||||
license="GPL-2.0-only"
|
||||
depends="bluez mobile-broadband-provider-info"
|
||||
makedepends="glib-dev dbus-dev ell-dev eudev-dev
|
||||
@ -30,6 +30,10 @@ source="https://www.kernel.org/pub/linux/network/ofono/ofono-$_pkgver.tar.xz
|
||||
ofono-wheel.conf"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
# Workaround build freeze with QEMU user emulation
|
||||
export JOBS=1
|
||||
export MAKEFLAGS=-j$JOBS
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
autoreconf -fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user