Commit 8a670b2 1 parent faf7826 commit 8a670b2 Copy full SHA for 8a670b2
File tree 4 files changed +12
-11
lines changed
4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Configuration for rust compiler
2
2
#
3
3
4
+ RUSTUP_QORIQ_TOOLCHAIN = 1.82.0
5
+
4
6
ifeq ($(RUSTUP_DEFAULT_TOOLCHAIN ) ,)
5
7
RUSTUP_DEFAULT_TOOLCHAIN = stable
6
8
endif
14
16
15
17
# Versions available: https://releases.rs/docs/
16
18
ifeq ($(RUST_BUILD_VERSION ) ,)
17
- RUST_BUILD_VERSION = 1.82.0
19
+ RUST_BUILD_VERSION = $( RUSTUP_QORIQ_TOOLCHAIN )
18
20
endif
19
21
20
22
# Enforce using newer cmake when building Tier-3 toolchains
@@ -54,7 +56,7 @@ RUST_TARGET = aarch64-unknown-linux-gnu
54
56
endif
55
57
ifeq ($(findstring $(RUST_ARCH ) , $(PPC_ARCHS ) ) ,$(RUST_ARCH ) )
56
58
RUST_TARGET = powerpc-unknown-linux-gnuspe
57
- TC_RUSTUP_TOOLCHAIN = $( RUST_BUILD_VERSION ) -$(RUST_TARGET )
59
+ TC_RUSTUP_TOOLCHAIN = stable- $( RUSTUP_QORIQ_TOOLCHAIN ) -$(RUST_TARGET )
58
60
endif
59
61
ifeq ($(findstring $(RUST_ARCH ) , $(x64_ARCHS ) ) ,$(RUST_ARCH ) )
60
62
RUST_TARGET = x86_64-unknown-linux-gnu
Original file line number Diff line number Diff line change @@ -2,18 +2,18 @@ PKG_ARCH = qoriq
2
2
PKG_NAME = rust-$(PKG_ARCH )
3
3
PKG_VERS = 1.82.0
4
4
PKG_EXT = txz
5
- PKG_DIST_TARGET = $(PKG_VERS ) -powerpc-unknown-linux-gnuspe
5
+ PKG_DIST_TARGET = stable- $(PKG_VERS ) -powerpc-unknown-linux-gnuspe
6
6
PKG_DIST_NAME = $(PKG_DIST_TARGET ) .$(PKG_EXT )
7
7
PKG_DIST_SITE = https://github.com/SynoCommunity/spksrc/releases/download/rust/qoriq
8
8
EXTRACT_PATH = $(INSTALL_DIR ) /$(INSTALL_PREFIX )
9
9
10
- DEPENDS =
10
+ DEPENDS =
11
11
12
12
HOMEPAGE = https://www.rust-lang.org/
13
13
COMMENT = A language empowering everyone to build reliable and efficient software.
14
- LICENSE = Apache-2.0, MIT licenses
14
+ LICENSE = Apache-2.0, MIT licenses
15
15
16
- # extracted directly into install folder
16
+ # Extracted directly into install folder
17
17
INSTALL_TARGET = nop
18
18
POST_INSTALL_TARGET = rust-qoriq-postinstall
19
19
@@ -28,5 +28,6 @@ rust-qoriq-postinstall:
28
28
@export PATH=" $( CARGO_PATH) :$$ {PATH}" ; \
29
29
export RUSTUP_HOME=" $( RUSTUP_HOME) " ; \
30
30
which rustup ; \
31
+ rustup --version ; \
31
32
rustup toolchain link $(PKG_DIST_TARGET ) $(abspath $(INSTALL_DIR ) /$(INSTALL_PREFIX ) ) ; \
32
33
rustup show
Original file line number Diff line number Diff line change 1
- 1.82.0-powerpc-unknown-linux-gnuspe.txz SHA1 2bb6a24ca736640e0cb1c7f6fa147fe93029beab
2
- 1.82.0-powerpc-unknown-linux-gnuspe.txz SHA256 52eff1c1e0615ea084a81afba1548d0e085170981f339f3cec77df3790bb5758
3
- 1.82.0-powerpc-unknown-linux-gnuspe.txz MD5 9b60c0a6bbf803290c388840b767989c
1
+ stable- 1.82.0-powerpc-unknown-linux-gnuspe.txz SHA1 2f32d9100663bf26ddf3b193da5902a5b4a36642
2
+ stable- 1.82.0-powerpc-unknown-linux-gnuspe.txz SHA256 91ed5f963399a45150bfdca99cbbaa0dd03480d8350355678757885cbe5379a9
3
+ stable- 1.82.0-powerpc-unknown-linux-gnuspe.txz MD5 fb57d6ef3b16c9ca5f3aea0d4b2178b3
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ TC_RUSTFLAGS = -C target-cpu=e500
13
13
14
14
include ../../mk/spksrc.tc.mk
15
15
16
- OPTIONAL_DEPENDS = toolchain/syno-$(TC_ARCH ) -$(TC_VERS ) -rust
17
-
18
16
ifneq ($(RUST_BUILD_TOOLCHAIN ) ,1)
19
17
DEPENDS = toolchain/syno-$(TC_ARCH ) -$(TC_VERS ) -rust
20
18
else
You can’t perform that action at this time.
0 commit comments