diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-06-10 15:38:56 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-06-10 15:57:55 +0200 |
commit | bd425f716f0a92ef627f7287869d88ca408fe55e (patch) | |
tree | 510e39f206031a98984fcdb723f3795362328c8f /package/rustc | |
parent | 99723554c0c84002c25e98eb187fa667abee4ced (diff) | |
download | buildroot-bd425f716f0a92ef627f7287869d88ca408fe55e.tar.gz buildroot-bd425f716f0a92ef627f7287869d88ca408fe55e.zip |
host-cargo: select host-rustc
Buildroot documentation specifies that cargo-based package should only
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS and selects
BR2_PACKAGE_HOST_CARGO but this fails with the following error:
warning: (BR2_PACKAGE_LIBRSVG) selects BR2_PACKAGE_HOST_CARGO which has
unmet direct dependencies (BR2_PACKAGE_HAS_HOST_RUSTC)
Indeed, host-cargo depends on
BR2_PACKAGE_HAS_HOST_RUSTC which is selected only when host-rustc is
selected.
So instead of having to select both cargo and rustc in each cargo-based
package, replace BR2_PACKAGE_HAS_HOST_RUSTC dependency by
BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS and select
BR2_PACKAGE_HOST_RUSTC
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/rustc')
0 files changed, 0 insertions, 0 deletions