mirror of
https://gitlab.postmarketos.org/postmarketOS/pmaports.git
synced 2025-07-13 00:29:49 +03:00
cross/crossdirect: support riscv64 (MR 6054)
This commit is contained in:
parent
102863b3c7
commit
6de44c7911
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
pkgname=crossdirect
|
pkgname=crossdirect
|
||||||
pkgver=5.2.0
|
pkgver=5.2.0
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Wrappers to launch native cross compilers in foreign chroots"
|
pkgdesc="Wrappers to launch native cross compilers in foreign chroots"
|
||||||
url="https://postmarketOS.org"
|
url="https://postmarketOS.org"
|
||||||
arch="all"
|
arch="all"
|
||||||
|
@ -31,7 +31,7 @@ source="cargo.sh crossdirect.c rustc.sh rust-qemu-linker.sh"
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
# Architectures and binaries
|
# Architectures and binaries
|
||||||
_archs="x86_64 armhf armv7 aarch64"
|
_archs="x86_64 armhf armv7 aarch64 riscv64"
|
||||||
for _arch in $_archs; do
|
for _arch in $_archs; do
|
||||||
[ "$_arch" == "$CARCH" ] && continue
|
[ "$_arch" == "$CARCH" ] && continue
|
||||||
_hostspec="$(arch_to_hostspec $_arch)"
|
_hostspec="$(arch_to_hostspec $_arch)"
|
||||||
|
@ -48,7 +48,7 @@ build() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
# Architectures and binaries
|
# Architectures and binaries
|
||||||
_archs="x86_64 armhf armv7 aarch64"
|
_archs="x86_64 armhf armv7 aarch64 riscv64"
|
||||||
_bins="c++ cc cpp g++ gcc clang clang++"
|
_bins="c++ cc cpp g++ gcc clang clang++"
|
||||||
|
|
||||||
# Rust wrappers
|
# Rust wrappers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue