From 8d9cbe557d352a2af6750500f3feb57b13cd9742 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 7 Jul 2010 16:57:28 -0700 Subject: [PATCH] Add phony target dist_libraries that is only used to put your library into the dist dir when doing a full build. Change-Id: I11e9dc15237086843ea4a00736c81ffc680ca12e --- core/main.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/main.mk b/core/main.mk index 32d67e9b6..0b4ca38fd 100644 --- a/core/main.mk +++ b/core/main.mk @@ -689,6 +689,9 @@ droidcore: files \ $(INSTALLED_USERDATAIMAGE_TARGET) \ $(INSTALLED_FILES_FILE) +# dist_libraries only for putting your library into the dist directory with a full build. +.PHONY: dist_libraries + ifneq ($(TARGET_BUILD_APPS),) # If this build is just for apps, only build apps and not the full system by default. @@ -736,7 +739,7 @@ else # TARGET_BUILD_APPS endif # Building a full system-- the default is to build droidcore -droid: droidcore +droid: droidcore dist_libraries endif # TARGET_BUILD_APPS -- 2.11.0