diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-05 10:10:34 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-05 10:10:34 +0200 |
commit | beca53b79fd595da46da779a20464c333d63e3a0 (patch) | |
tree | 5ca2567d571711773f2036221259eff30db85e3e /ota-test/main/Makefile.projbuild | |
parent | fadeb06d74c3d739dc1202031e1eea1374e8917e (diff) | |
download | modern-esp-sandbox-beca53b79fd595da46da779a20464c333d63e3a0.tar.gz modern-esp-sandbox-beca53b79fd595da46da779a20464c333d63e3a0.tar.bz2 modern-esp-sandbox-beca53b79fd595da46da779a20464c333d63e3a0.tar.xz modern-esp-sandbox-beca53b79fd595da46da779a20464c333d63e3a0.zip |
wip
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 |