From 0d9abec269c8faaedf0a84bb00f3d06a88fd9af7 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 17 Sep 2022 17:11:49 +0200 Subject: [PATCH] Added prebake check to makefile --- sbapp/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbapp/Makefile b/sbapp/Makefile index ff4b019..9fc2fb0 100644 --- a/sbapp/Makefile +++ b/sbapp/Makefile @@ -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