Added prebake check to makefile

This commit is contained in:
Mark Qvist 2022-09-17 17:11:49 +02:00
parent 39d39de914
commit 0d9abec269

View File

@ -32,9 +32,13 @@ debug:
buildozer android debug buildozer android debug
prebake: 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) -(buildozer android release)
@(echo Prebake finished, applying patches and rebuilding...) @(echo Prebake finished, applying patches and rebuilding...)
-(sleep 2) -(sleep 2)
endif
release: release:
buildozer android release buildozer android release