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

Version information not updated in local build #1049

Closed
krichardsson opened this issue May 16, 2022 · 0 comments · Fixed by #1210
Closed

Version information not updated in local build #1049

krichardsson opened this issue May 16, 2022 · 0 comments · Fixed by #1210
Labels

Comments

@krichardsson
Copy link
Contributor

The version information is handled by generating a c file, build/src/utils/src/version_gen.c that is compiled into the firmware.
This works fine when building from a newly cloned repo but when building locally in an "old" file tree, version_gen.c is not updated and the version that is compiled into the firmware is stale.
make clean does not remove the file either.

I found traces in tools/kbuild/Makefile.kbuild (search for 'version_h') that looks like an old implementation of forcing the build of version information, but it is targeted at version.h and does not work.

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

Successfully merging a pull request may close this issue.

1 participant