Allow to build musl/binutils/gcc for x86 architecture (#1150)

This commit is contained in:
Daniele Debernardi 2018-01-23 01:26:33 +01:00 committed by Oliver Smith
parent db3f1f36a7
commit 8ec9eec080
10 changed files with 14 additions and 17 deletions

View File

@ -12,7 +12,7 @@ depends=""
makedepends_build=""
makedepends_host=""
makedepends="gettext libtool autoconf automake bison"
arch="armhf x86_64"
arch="armhf x86_64 x86"
license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
subpackages=""
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2

View File

@ -12,7 +12,7 @@ depends=""
makedepends_build=""
makedepends_host=""
makedepends="gettext libtool autoconf automake bison"
arch="aarch64 x86_64"
arch="aarch64 x86_64 x86"
license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
subpackages=""
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2

View File

@ -12,7 +12,7 @@ depends=""
makedepends_build=""
makedepends_host=""
makedepends="gettext libtool autoconf automake bison"
arch="armhf aarch64"
arch="armhf aarch64 x86"
license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
subpackages=""
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2

View File

@ -57,7 +57,7 @@ pkgname="gcc-aarch64"
pkgrel=6
pkgdesc="Stage2 cross-compiler for aarch64"
url="http://gcc.gnu.org"
arch="armhf x86_64"
arch="armhf x86_64 x86"
license="GPL LGPL"
_gccrel=$pkgver-r$pkgrel
depends="isl binutils-aarch64"

View File

@ -57,7 +57,7 @@ pkgname="gcc-armhf"
pkgrel=6
pkgdesc="Stage2 cross-compiler for armhf"
url="http://gcc.gnu.org"
arch="aarch64 x86_64"
arch="aarch64 x86_64 x86"
license="GPL LGPL"
_gccrel=$pkgver-r$pkgrel
depends="isl binutils-armhf"

View File

@ -57,7 +57,7 @@ pkgname="gcc-x86_64"
pkgrel=6
pkgdesc="Stage2 cross-compiler for x86_64"
url="http://gcc.gnu.org"
arch="armhf aarch64"
arch="armhf aarch64 x86"
license="GPL LGPL"
_gccrel=$pkgver-r$pkgrel
depends="isl binutils-x86_64"

View File

@ -4,7 +4,7 @@
pkgname="musl-aarch64"
pkgver="1.1.18"
pkgrel=5
arch="armhf x86_64"
arch="armhf x86_64 x86"
subpackages="musl-dev-aarch64:package_dev"
_arch="aarch64"

View File

@ -4,7 +4,7 @@
pkgname="musl-armhf"
pkgver="1.1.18"
pkgrel=5
arch="aarch64 x86_64"
arch="aarch64 x86_64 x86"
subpackages="musl-dev-armhf:package_dev"
_arch="armhf"

View File

@ -4,7 +4,7 @@
pkgname="musl-x86_64"
pkgver="1.1.18"
pkgrel=5
arch="armhf aarch64"
arch="armhf aarch64 x86"
subpackages="musl-dev-x86_64:package_dev"
_arch="x86_64"

View File

@ -144,14 +144,11 @@ apkindex_retention_time = 4
#
# BUILD
#
# Officially supported target architectures for postmarketOS. Only
# specify architectures supported by Alpine here. When creating a noarch
# package, symlinks for all architectures get created - so only specify
# architectures, where we really have device-* packages for.
# For cross-compiling we need the "musl-$ARCH", "binutils-$ARCH" and
# "gcc-$ARCH" packages of each target architecture.
build_device_architectures = ["armhf", "aarch64", "x86_64"]
# Officially supported host/target architectures for postmarketOS. Only
# specify architectures supported by Alpine here. Fro cross-compiling,
# we need to generate the "musl-$ARCH", "binutils-$ARCH" and "gcc-$ARCH"
# packages (use "pmbootstrap aportgen musl-armhf" etc.).
build_device_architectures = ["armhf", "aarch64", "x86_64", "x86"]
# Packages, that will be installed in a chroot before it builds packages
# for the first time