OSDN Git Service

build: print module that has unhandled install path
authorColin Cross <ccross@android.com>
Thu, 23 Jan 2014 01:34:28 +0000 (17:34 -0800)
committerColin Cross <ccross@android.com>
Thu, 23 Jan 2014 01:34:28 +0000 (17:34 -0800)
Print the name of the module that is providing an unhandled install
path.

Change-Id: I0e8b02f01de1dde715f0985034ad943f793218ba

core/base_rules.mk

index 64ca5b2..72cc2ce 100644 (file)
@@ -118,7 +118,7 @@ ifeq ($(LOCAL_MODULE_PATH),)
 
   LOCAL_MODULE_PATH := $($(install_path_var))
   ifeq ($(strip $(LOCAL_MODULE_PATH)),)
-    $(error $(LOCAL_PATH): unhandled install path "$(install_path_var)")
+    $(error $(LOCAL_PATH): unhandled install path "$(install_path_var) for $(LOCAL_MODULE)")
   endif
 endif
 endif # not LOCAL_UNINSTALLABLE_MODULE