cargo: use install targets to avoid rust-installer
This install target is used by Gentoo to avoid needing rust-installer.
This commit is contained in:
@@ -54,7 +54,7 @@ do_compile () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
oe_runmake DESTDIR="${D}" install
|
oe_runmake prepare-image-${TARGET_SYS} IMGDIR_${TARGET_SYS}="${D}${prefix}"
|
||||||
}
|
}
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ SRC_URI += " \
|
|||||||
git://github.com/rust-lang/cargo.git;protocol=https;name=cargo \
|
git://github.com/rust-lang/cargo.git;protocol=https;name=cargo \
|
||||||
file://0001-disable-cargo-snapshot-fetch.patch \
|
file://0001-disable-cargo-snapshot-fetch.patch \
|
||||||
file://0001-Never-update-the-registry-index.patch \
|
file://0001-Never-update-the-registry-index.patch \
|
||||||
git://github.com/rust-lang/rust-installer.git;protocol=https;name=rust-installer;destsuffix=${S}/src/rust-installer \
|
|
||||||
crate://crates.io/advapi32-sys/0.1.2 \
|
crate://crates.io/advapi32-sys/0.1.2 \
|
||||||
crate://crates.io/bufstream/0.1.1 \
|
crate://crates.io/bufstream/0.1.1 \
|
||||||
crate://crates.io/crossbeam/0.2.8 \
|
crate://crates.io/crossbeam/0.2.8 \
|
||||||
@@ -60,8 +59,6 @@ SRC_URI += " \
|
|||||||
# https://static.rust-lang.org/dist/channel-rust-1.10.0.toml
|
# https://static.rust-lang.org/dist/channel-rust-1.10.0.toml
|
||||||
SRCREV_cargo = "259324cd8f9bb6e1068a3a2b77685e90fda3e3b6"
|
SRCREV_cargo = "259324cd8f9bb6e1068a3a2b77685e90fda3e3b6"
|
||||||
|
|
||||||
SRCREV_rust-installer = "c37d3747da75c280237dc2d6b925078e69555499"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM ="\
|
LIC_FILES_CHKSUM ="\
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ require cargo.inc
|
|||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
git://github.com/rust-lang/cargo.git;protocol=https;name=cargo \
|
git://github.com/rust-lang/cargo.git;protocol=https;name=cargo \
|
||||||
git://github.com/rust-lang/rust-installer.git;protocol=https;name=rust-installer;destsuffix=${S}/src/rust-installer \
|
|
||||||
crate://crates.io/advapi32-sys/0.2.0 \
|
crate://crates.io/advapi32-sys/0.2.0 \
|
||||||
crate://crates.io/aho-corasick/0.5.2 \
|
crate://crates.io/aho-corasick/0.5.2 \
|
||||||
crate://crates.io/bitflags/0.1.1 \
|
crate://crates.io/bitflags/0.1.1 \
|
||||||
@@ -78,8 +77,6 @@ SRC_URI += " \
|
|||||||
# https://static.rust-lang.org/dist/channel-rust-1.12.1.toml
|
# https://static.rust-lang.org/dist/channel-rust-1.12.1.toml
|
||||||
SRCREV_cargo = "109cb7c33d426044d141457049bd0fffaca1327c"
|
SRCREV_cargo = "109cb7c33d426044d141457049bd0fffaca1327c"
|
||||||
|
|
||||||
SRCREV_rust-installer = "c37d3747da75c280237dc2d6b925078e69555499"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM ="\
|
LIC_FILES_CHKSUM ="\
|
||||||
|
|||||||
Reference in New Issue
Block a user