This new package provides Cargo, the Rust official package manager. Cargo is written in Rust and uses Cargo as its build system. It also depends on other Rust packages. Normally, a previously installed version of Cargo would be used to: 1. Fetch the dependencies. 2. Build the new version of Cargo, using the available Rust compiler. But the fetching step prevents offline builds. So instead two features of Cargo are leveraged: vendoring [1] and local registry. First, a tarball of the build dependencies generated using `cargo vendor` is fetched along with Cargo source code. Then, the build process is as follows: 1. The tarball of the build dependencies is uncompressed in a local registry. 2. A snapshot of Cargo, provided by cargo-bin, builds the final version of Cargo. 3. A configuration file telling Cargo how to cross-compile programs for the target is generated and installed. Currently, only the host variant is provided. [1] https://github.com/alexcrichton/cargo-vendor [Peter: use src.fedoraproject.org, fix comment] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
64 lines
2.5 KiB
Plaintext
64 lines
2.5 KiB
Plaintext
menu "Host utilities"
|
|
|
|
source "package/aespipe/Config.in.host"
|
|
source "package/android-tools/Config.in.host"
|
|
source "package/cargo/Config.in.host"
|
|
source "package/cbootimage/Config.in.host"
|
|
source "package/checkpolicy/Config.in.host"
|
|
source "package/cmake/Config.in.host"
|
|
source "package/cramfs/Config.in.host"
|
|
source "package/cryptsetup/Config.in.host"
|
|
source "package/dfu-util/Config.in.host"
|
|
source "package/dos2unix/Config.in.host"
|
|
source "package/dosfstools/Config.in.host"
|
|
source "package/dtc/Config.in.host"
|
|
source "package/e2fsprogs/Config.in.host"
|
|
source "package/e2tools/Config.in.host"
|
|
source "package/faketime/Config.in.host"
|
|
source "package/fwup/Config.in.host"
|
|
source "package/genext2fs/Config.in.host"
|
|
source "package/genimage/Config.in.host"
|
|
source "package/genpart/Config.in.host"
|
|
source "package/gnupg/Config.in.host"
|
|
source "package/go/Config.in.host"
|
|
source "package/go-bootstrap/Config.in.host"
|
|
source "package/google-breakpad/Config.in.host"
|
|
source "package/gptfdisk/Config.in.host"
|
|
source "package/imx-usb-loader/Config.in.host"
|
|
source "package/jq/Config.in.host"
|
|
source "package/jsmin/Config.in.host"
|
|
source "package/lpc3250loader/Config.in.host"
|
|
source "package/lttng-babeltrace/Config.in.host"
|
|
source "package/mfgtools/Config.in.host"
|
|
source "package/mkpasswd/Config.in.host"
|
|
source "package/mtd/Config.in.host"
|
|
source "package/mtools/Config.in.host"
|
|
source "package/mxsldr/Config.in.host"
|
|
source "package/omap-u-boot-utils/Config.in.host"
|
|
source "package/openocd/Config.in.host"
|
|
source "package/opkg-utils/Config.in.host"
|
|
source "package/parted/Config.in.host"
|
|
source "package/patchelf/Config.in.host"
|
|
source "package/pkgconf/Config.in.host"
|
|
source "package/pru-software-support/Config.in.host"
|
|
source "package/pwgen/Config.in.host"
|
|
source "package/python-lxml/Config.in.host"
|
|
source "package/python-six/Config.in.host"
|
|
source "package/qemu/Config.in.host"
|
|
source "package/raspberrypi-usbboot/Config.in.host"
|
|
source "package/rauc/Config.in.host"
|
|
source "package/rustc/Config.in.host"
|
|
source "package/s6-rc/Config.in.host"
|
|
source "package/sam-ba/Config.in.host"
|
|
source "package/squashfs/Config.in.host"
|
|
source "package/sunxi-tools/Config.in.host"
|
|
source "package/tegrarcm/Config.in.host"
|
|
source "package/ti-cgt-pru/Config.in.host"
|
|
source "package/uboot-tools/Config.in.host"
|
|
source "package/util-linux/Config.in.host"
|
|
source "package/vboot-utils/Config.in.host"
|
|
source "package/xorriso/Config.in.host"
|
|
source "package/zip/Config.in.host"
|
|
|
|
endmenu
|