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

allow modifying the name of the compiled binary by setting PROG in the environment #816

Merged

Conversation

ntamas
Copy link
Contributor

@ntamas ntamas commented Jul 13, 2021

This PR adds support for overriding the name of the compiled firmware binary by setting PROG from the command line or from another Makefile; e.g., one can now do fancy stuff this:

PROG=crazyflie-firmware-$(git describe) make

This will build the firmware in a way that the name of the Git revision is included in the filename. This is useful for archival purposes. One other possible use-case is that when compiling a Crazyflie app, you can override the name of the firmware in the app makefile so you can easily identify which app was built in a particular binary.

@knmcguire
Copy link
Member

Sounds good! I'll merge it. THanks!

@knmcguire knmcguire merged commit 826a44b into bitcraze:master Jul 14, 2021
@ntamas ntamas deleted the feature/modifiable-firmware-filename branch July 14, 2021 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants