-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extra version information to avrdude output
Some downstream projects build avrdude and want to add their own version information to the avrdude version. This adds a clean way to do that without patching for both cmake and automake based builds: cmake -DEXTRA_VERSION:STRING=-arduino.1-rc1 ../configure EXTRA_VERSION=-arduino.1-rc1 After building avrdude, the last line of "avrdude -?" will now look similar to the following, depending on whether you are building an avrdude git checkout or an avrdude release: avrdude version 8.0-20240901-arduino.1-rc1 (30e19f2), https://github.com/avrdudes/avrdude avrdude version 8.1-arduino.1-rc1 (30e19f2), https://github.com/avrdudes/avrdude
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters