Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: add option to add files to SRC_URI #25

Open
fneddy opened this issue Mar 5, 2021 · 0 comments
Open

feature request: add option to add files to SRC_URI #25

fneddy opened this issue Mar 5, 2021 · 0 comments

Comments

@fneddy
Copy link

fneddy commented Mar 5, 2021

Request

add two options to cargo bitbake to add specific files and all source files to the recipe SRC_URI variable.

example specific files:

    > cargo bitbake --add-source ./resources/config.toml  --add-source ./src/mod1/lib.rs
    # adds the repo to SRC_URI
    # adds additional two files to SRC_URI

example all files:

    > cargo bitbake --no-repo --add-all-source 
    # does not add the repo url to SRC_URI
    # adds all sources to the SRC_URI

Reasons

one may have multiple recipes in one repository (e.g. we have a repo for driver, one for tools and one for client apps). Currently cargo bitbake cannot create recipes for rust projects if they are not separated each into one repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants