Also tweaked fdwarf.py to work better from a Makefile by exactly specifying the output name rather than having it automatically add the extension and correctly reporting success or failure via exit codes. This is still a work in progress as it currently relies on creating a symlink, but we're apparently trying to avoid those.
Make subcommands:
all (default) - Build the Flipper module (build/flipper/myproject.bin) and the host client (build/host/myproject)
fvm - Build the Flipper module for the Flipper Virtual Machine (build/fvm/myproject.so)
dump - Display the assembly code listing of the built Flipper module
install - Build the Flipper module and upload it to a connected Flipper device
clean - Remove the entire build directory, containing all build products
Also tweaked
fdwarf.py
to work better from a Makefile by exactly specifying the output name rather than having it automatically add the extension and correctly reporting success or failure via exit codes. This is still a work in progress as it currently relies on creating a symlink, but we're apparently trying to avoid those.Intended filesystem structure:
Example
Build.mk
file contents:Output of running
make help
: