cargo: rust-snapshot (via .travis.install.deps.sh) support
This commit is contained in:
@@ -23,7 +23,12 @@ PV .= "+git${SRCPV}"
|
|||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
B = "${S}"
|
B = "${S}"
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= ""
|
||||||
|
PACKAGECONFIG[rust-snapshot] = "--local-rust-root=${B}/rustc"
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
|
${@bb.utils.contains('PACKAGECONFIG', 'rust-snapshot', '${S}/.travis.install.deps.sh', ':', d)}
|
||||||
|
|
||||||
"${S}/configure" \
|
"${S}/configure" \
|
||||||
"--prefix=${prefix}" \
|
"--prefix=${prefix}" \
|
||||||
"--build=${BUILD_SYS}" \
|
"--build=${BUILD_SYS}" \
|
||||||
@@ -35,6 +40,8 @@ do_configure () {
|
|||||||
"--infodir=${infodir}" \
|
"--infodir=${infodir}" \
|
||||||
"--mandir=${mandir}" \
|
"--mandir=${mandir}" \
|
||||||
"--libdir=${libdir}" \
|
"--libdir=${libdir}" \
|
||||||
|
"--disable-verify-install" \
|
||||||
|
${EXTRA_OECONF} \
|
||||||
|| die "Could not configure cargo"
|
|| die "Could not configure cargo"
|
||||||
|
|
||||||
# cargo downloads a cargo snapshot to build itself using cargo, we need
|
# cargo downloads a cargo snapshot to build itself using cargo, we need
|
||||||
|
|||||||
Reference in New Issue
Block a user