diff options
Diffstat (limited to 'ota-test/main/Makefile.projbuild')
-rw-r--r-- | ota-test/main/Makefile.projbuild | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ota-test/main/Makefile.projbuild b/ota-test/main/Makefile.projbuild new file mode 100644 index 0000000..634dc6b --- /dev/null +++ b/ota-test/main/Makefile.projbuild @@ -0,0 +1,13 @@ +RBOOT_OPTS += RBOOT_EXTRA_INCDIR=$(PWD)/main/include +RBOOT_OPTS += RBOOT_INTEGRATION=1 + +$(BUILD_DIR_BASE)/rboot.bin: + @echo ------------------------------------------------------- + @echo BUILDING RBOOT + cd ../thirdparty/rboot && \ + env -i PATH=$(PATH) V=$(V) \ + make $(RBOOT_OPTS) && \ + cp firmware/rboot.bin $(BUILD_DIR_BASE)/rboot.bin + @echo ------------------------------------------------------- + +$(APP_BIN): $(BUILD_DIR_BASE)/rboot.bin |