From d47804e929eaa69a41f04a5acb7aed1dfbfb4388 Mon Sep 17 00:00:00 2001 From: Sean McNeil Date: Fri, 3 Apr 2009 08:53:51 +0700 Subject: [PATCH] Provide LOCAL_DIR as some product variables might need a reference directory (i.e. PRODUCT_COPY_FILES). Change from LOCAL_DIR to LOCAL_PATH --- core/node_fns.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/node_fns.mk b/core/node_fns.mk index 8b026f5775..5d2a6692c8 100644 --- a/core/node_fns.mk +++ b/core/node_fns.mk @@ -186,7 +186,9 @@ endef define _import-node $(eval _include_stack := $(2) $$(_include_stack)) $(call clear-var-list, $(3)) + $(eval LOCAL_PATH := $(patsubst %/,%,$(dir $(2)))) $(eval include $(2)) + $(eval LOCAL_PATH :=) $(call copy-var-list, $(1).$(2), $(3)) $(call clear-var-list, $(3))