From 35cd408196c1fec3e576591a7698e8a87226fdb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Wed, 22 Jun 2011 14:14:49 +0000 Subject: [PATCH] Added NODEPS define to skip recompilation for zip and apk builds. Usage: make zip NODEPS=1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30050 a1c6a512-1295-4272-9138-f99709370657 --- android/android.make | 4 ++++ tools/root.make | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/android/android.make b/android/android.make index 56b650a7af..f319bb9507 100644 --- a/android/android.make +++ b/android/android.make @@ -124,7 +124,11 @@ $(KEYSTORE): -storepass android -keypass android -validity 365 \ -dname "CN=Android Debug,O=Android,C=US" +ifdef NODEPS +$(APK): $(TEMP_APK) $(KEYSTORE) +else $(APK): $(TEMP_APK) $(BUILDDIR)/rockbox.zip $(KEYSTORE) +endif $(SILENT)rm -f $@ $(call PRINTS,SIGN $(subst $(BUILDDIR)/,,$@))jarsigner \ -keystore "$(KEYSTORE)" -storepass "android" -keypass "android" \ diff --git a/tools/root.make b/tools/root.make index a54d77891a..f97588f158 100644 --- a/tools/root.make +++ b/tools/root.make @@ -260,7 +260,11 @@ fontzip: zip: $(BUILDDIR)/rockbox.zip +ifdef NODEPS +$(BUILDDIR)/rockbox.zip: +else $(BUILDDIR)/rockbox.zip: build +endif $(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) --app=$(APPLICATION) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY) mapzip: