summaryrefslogtreecommitdiffstats
path: root/tools/Android.mk
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2012-09-20 13:50:02 -0700
committerKeun young Park <keunyoung@google.com>2012-09-20 14:31:17 -0700
commit6530b38d7ce884d265c1328c28d0cd62f89cd8b2 (patch)
treecffcc337aa9cf01a15fc48382068b367c16a2844 /tools/Android.mk
parentc4d68391cc39e56b1471a3f5a8d1efbc123503e6 (diff)
downloadbuild-6530b38d7ce884d265c1328c28d0cd62f89cd8b2.zip
build-6530b38d7ce884d265c1328c28d0cd62f89cd8b2.tar.gz
build-6530b38d7ce884d265c1328c28d0cd62f89cd8b2.tar.bz2
fix PDK build
- build tools not coming from prebuilts for PDK Change-Id: I5760a54f502b8aa2167976c8f1e17412f31c6f5f
Diffstat (limited to 'tools/Android.mk')
-rw-r--r--tools/Android.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/Android.mk b/tools/Android.mk
index a29cd3d..f646c37 100644
--- a/tools/Android.mk
+++ b/tools/Android.mk
@@ -14,7 +14,15 @@
# limitations under the License.
#
-ifeq (,$(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)))
+ifeq (,$(TARGET_BUILD_APPS))
+
LOCAL_PATH := $(call my-dir)
-include $(call first-makefiles-under,$(LOCAL_PATH))
+
+ifeq ($(TARGET_BUILD_PDK),true)
+include $(filter-out %/acp/Android.mk %/signapk/Android.mk %/zipalign/Android.mk,\
+ $(call all-makefiles-under,$(LOCAL_PATH)))
+else # !PDK
+include $(call all-makefiles-under,$(LOCAL_PATH))
+endif # PDK
+
endif