Skip to content
Snippets Groups Projects
Commit 9791fb2a authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

build: support adding version code to file names (FS#323)


Now that the VERSION_NUMBER variable holds the human friendly name and not
the commit ID anymore, we need to support adding the revision ID as well.

Introduce a new config variable CONFIG_VERSION_CODE_FILENAMES which, if set,
causes the resulting file names to contain a commit ID designation as printed
by scripts/getver.sh.

Also sanitize the input variables to ensure that the resulting strings are
lowercased and no not contain spaces.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent ee5a6c10
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment