Closed rzr closed 2 years ago
On every make
will it automatically update submodules too? If so will make fail is there is no internet connection?
not if prep.tmp file is there
I see, I've tried it out and it was working well. But I'm thinking about if there could be any unwanted unexpected consequences if the submodules are updated automatically. E.g. someone uses lvgl v8.0.2 but v8.1 will be out it's not certain that he want to update to the new minor version automatically.
I'd rather leave for the user to update the submodules as he wish.
ok let me update this change to pull only if missing
Sounds good!
I don't know why but the content of lvgl.mk
, lv_drivers.mk
or lv_demos.mk
randomly gets overwritten by this content:
lv_demos/lv_demo.mk
lv_drivers/lv_drivers.mk
lvgl/lvgl.mk
E.g. when lv_demos.mk
was overwritten:
$ make
info: Preparing sources
git submodule init
git submodule update
info: Sources prepared ready to build again
Makefile:50: recipe for target 'lv_demos/lv_demo.mk' failed
make: *** [lv_demos/lv_demo.mk] Error 1
It's been a while since I worked with a Makefile, but I think this line is the culprit.
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Signed-off-by: Philippe Coval philippe.coval@huawei.com