From e73c4bbc509f414cb8fbf487b7f44ab94af9cbb9 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Sun, 16 Jan 2011 18:31:29 +0800 Subject: [PATCH] Use my-dir in a consistent way as others Change-Id: I3fd0cc58b48d621b431d7dd05fb689c1917b530d --- core/definitions.mk | 2 +- tools/Android.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/definitions.mk b/core/definitions.mk index 975b6b5ef..17c8089b3 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -154,7 +154,7 @@ endef # $(1): List of directories to look for under this directory define all-named-subdir-makefiles -$(wildcard $(addsuffix /Android.mk, $(addprefix $(my-dir)/,$(1)))) +$(wildcard $(addsuffix /Android.mk, $(addprefix $(call my-dir)/,$(1)))) endef ########################################################### diff --git a/tools/Android.mk b/tools/Android.mk index fa9d0b717..92603f5fe 100644 --- a/tools/Android.mk +++ b/tools/Android.mk @@ -14,7 +14,7 @@ # limitations under the License. # -LOCAL_PATH := $(my-dir) +LOCAL_PATH := $(call my-dir) # If we're building only unbundled apps, this is the only tool we need. ifneq ($(TARGET_BUILD_APPS),)