From 40251afd6e28a880239ba0e468a5ab92c0d0126e Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Fri, 5 Oct 2012 14:39:37 -0400 Subject: [PATCH] makefile: add update target for android SDK This installs the components required for actually building a full APK. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index dc8ad6df8..ed3891aea 100644 --- a/Makefile +++ b/Makefile @@ -448,6 +448,11 @@ android_sdk_clean: $(V0) @echo " CLEAN $(ANDROID_SDK_DIR)" $(V1) [ ! -d "$(ANDROID_SDK_DIR)" ] || $(RM) -r $(ANDROID_SDK_DIR) +.PHONY: android_sdk_update +android_sdk_update: + $(V0) @echo " UPDATE $(ANDROID_SDK_DIR)" + $(ANDROID_SDK_DIR)/tools/android update sdk --no-ui -t platform-tools,android-16,addon-google_apis-google-16 + ############################## # # Set up paths to tools