meta-rust / cargo-bitbake

cargo extension that can generate BitBake recipes utilizing the classes from meta-rust
Apache License 2.0
83 stars 57 forks source link

license #30

Closed jwinarske closed 3 years ago

jwinarske commented 3 years ago

How do I ensure license gets resolved? In the case of a nested project would it make sense to pass in option for file name? Something like 'cargo bitbake -l ../LICENSE'?

weltling commented 3 years ago

The project Cargo.toml is to contain license = in the package section.

Thanks

jwinarske commented 3 years ago

Is that supposed to point to the file? I was under the impression that was the license type. For example:

license = "Apache-2.0"
jwinarske commented 3 years ago

I see. I need 'license-file = "../LICENSE"'