build: print module that has unhandled install path
Print the name of the module that is providing an unhandled install
path.
Change-Id: I0e8b02f01de1dde715f0985034ad943f793218ba
diff --git a/core/base_rules.mk b/core/base_rules.mk
index 64ca5b2..72cc2ce 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -118,7 +118,7 @@
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