OSDN Git Service

Use my-dir in a consistent way as others
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 16 Jan 2011 10:31:29 +0000 (18:31 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 3 Aug 2011 04:01:20 +0000 (12:01 +0800)
Change-Id: I3fd0cc58b48d621b431d7dd05fb689c1917b530d

core/definitions.mk
tools/Android.mk

index 91ed91f..d0dfd1a 100644 (file)
@@ -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
 
 ###########################################################
index fa9d0b7..92603f5 100644 (file)
@@ -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),)