| Age | Commit message (Collapse) | Author |
|
* Version compiled FW with hash
Auto generates a macro to type out version info, local and github compilation now includes commit hash and timestamp in final uf2 files
* Fix local builds
makefile doesn't like the script returning the macro, directed to null for local builds as version.dtsi file accessible
|
|
|
|
|
|
Volumes need the "z" option to work on selinux enabled systems. This has
no affect on systems that are not selinux enabled.
|
|
The target all was previous running setup followed by build. As
both setup and build are phony targets they run in sequence and because
the firmware contain the timestamp they always run (dependencies doesn't
do anything). all now does exactly what it says on the tin
without introducing non-standard targets.
clean now removes the images that created during build which is
what you expect from that target. See:
https://www.gnu.org/software/make/manual/html_node/Standard-Targets.html#Standard-Targets
|
|
makefile: ignore errors during clean
|
|
The file(s) being removed may not exist, but make shouldn't fail because
of it:
$ make clean
rm ./firmware/*.uf2
rm: cannot remove './firmware/*.uf2': No such file or directory
make: *** [Makefile:10: clean] Error 1
$ echo $?
2
this also removes leading ./ from path in clean, and assumes that `make
clean` is being run from the top level repo dir
|
|
|
|
|
|
Co-authored-by: Ed Flanagan <ed@flanagan.xyz>
|
|
|