From 6530b38d7ce884d265c1328c28d0cd62f89cd8b2 Mon Sep 17 00:00:00 2001 From: Keun young Park Date: Thu, 20 Sep 2012 13:50:02 -0700 Subject: fix PDK build - build tools not coming from prebuilts for PDK Change-Id: I5760a54f502b8aa2167976c8f1e17412f31c6f5f --- tools/Android.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'tools/Android.mk') 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 -- cgit v1.1