Added prebake check to makefile

This commit is contained in:
Mark Qvist 2022-09-17 17:11:49 +02:00
parent 39d39de914
commit 0d9abec269
1 changed files with 4 additions and 0 deletions

View File

@ -32,9 +32,13 @@ debug:
buildozer android debug
prebake:
ifneq (,$(wildcard .buildozer/android/platform/build-arm64-v8a/dists/sideband/src/main/res/xml/device_filter.xml))
@echo Device filter XML exists, skipping prebake
else
-(buildozer android release)
@(echo Prebake finished, applying patches and rebuilding...)
-(sleep 2)
endif
release:
buildozer android release