Don't compile cross-compiler packages for the host arch

Example: Building gcc-armhf for armhf does not make sense, so this
commit changes arch="all" to arch="aarch64 x86_64". This helps to
simplify the repository scripts ().
This commit is contained in:
Oliver Smith 2018-01-20 19:17:23 +01:00
parent 417b673286
commit 017f0b4c3e
9 changed files with 17 additions and 17 deletions
cross
binutils-aarch64
binutils-armhf
binutils-x86_64
gcc-aarch64
gcc-armhf
gcc-x86_64
musl-aarch64
musl-armhf
musl-x86_64

View file

@ -12,8 +12,8 @@ depends=""
makedepends_build=""
makedepends_host=""
makedepends="gettext libtool autoconf automake bison"
arch="all"
license="GPL2 GPL3+ LGPL2 BSD"
arch="armhf x86_64"
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
binutils-ld-fix-static-linking.patch

View file

@ -12,8 +12,8 @@ depends=""
makedepends_build=""
makedepends_host=""
makedepends="gettext libtool autoconf automake bison"
arch="all"
license="GPL2 GPL3+ LGPL2 BSD"
arch="aarch64 x86_64"
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
binutils-ld-fix-static-linking.patch

View file

@ -12,7 +12,7 @@ depends=""
makedepends_build=""
makedepends_host=""
makedepends="gettext libtool autoconf automake bison"
arch="all"
arch="armhf aarch64"
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="all"
arch="armhf x86_64"
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="all"
arch="aarch64 x86_64"
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="all"
arch="armhf aarch64"
license="GPL LGPL"
_gccrel=$pkgver-r$pkgrel
depends="isl binutils-x86_64"

View file

@ -1,9 +1,10 @@
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen musl-aarch64
pkgname=musl-aarch64
pkgver=1.1.18
pkgname="musl-aarch64"
pkgver="1.1.18"
pkgrel=5
arch="armhf x86_64"
subpackages="musl-dev-aarch64:package_dev"
_arch="aarch64"
@ -11,7 +12,6 @@ _mirror="https://nl.alpinelinux.org/alpine/"
url="https://musl-libc.org"
license="MIT"
arch="all"
options="!check !strip"
pkgdesc="the musl library (lib c) implementation for $_arch"

View file

@ -1,9 +1,10 @@
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen musl-armhf
pkgname=musl-armhf
pkgver=1.1.18
pkgname="musl-armhf"
pkgver="1.1.18"
pkgrel=5
arch="aarch64 x86_64"
subpackages="musl-dev-armhf:package_dev"
_arch="armhf"
@ -11,7 +12,6 @@ _mirror="https://nl.alpinelinux.org/alpine/"
url="https://musl-libc.org"
license="MIT"
arch="all"
options="!check !strip"
pkgdesc="the musl library (lib c) implementation for $_arch"

View file

@ -1,9 +1,10 @@
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen musl-x86_64
pkgname=musl-x86_64
pkgver=1.1.18
pkgname="musl-x86_64"
pkgver="1.1.18"
pkgrel=5
arch="armhf aarch64"
subpackages="musl-dev-x86_64:package_dev"
_arch="x86_64"
@ -11,7 +12,6 @@ _mirror="http://dl-cdn.alpinelinux.org/alpine/"
url="https://musl-libc.org"
license="MIT"
arch="all"
options="!check !strip"
pkgdesc="the musl library (lib c) implementation for $_arch"