Improve warnings for package-modules.mk
Include the calling makefile and package name instead of just a warning pointing to package-modules.mk Test: multiproduct_kati, grep logs Change-Id: I4fa35540b9695b44eea6c23463e137ec37d1d2c9
This commit is contained in:
parent
594c3fc3d7
commit
e19ca033c6
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
#
|
||||
#
|
||||
|
||||
my_makefile := $(lastword $(filter-out $(lastword $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
|
||||
my_staging_dir := $(call intermediates-dir-for,PACKAGING,$(my_package_name))
|
||||
my_built_modules :=
|
||||
my_copy_pairs :=
|
||||
|
@ -33,7 +34,7 @@ $(foreach m,$(my_modules_and_deps),\
|
|||
$(eval _built_files := $(strip $(ALL_MODULES.$(m).BUILT_INSTALLED)\
|
||||
$(ALL_MODULES.$(m)$(TARGET_2ND_ARCH_MODULE_SUFFIX).BUILT_INSTALLED)))\
|
||||
$(if $(_pickup_files)$(_built_files),,\
|
||||
$(warning Unknown installed file for module '$(m)'))\
|
||||
$(shell $(call echo-warning,$(my_makefile),$(my_package_name): Unknown installed file for module '$(m)')))\
|
||||
$(eval my_pickup_files += $(_pickup_files))\
|
||||
$(foreach i, $(_built_files),\
|
||||
$(eval bui_ins := $(subst :,$(space),$(i)))\
|
||||
|
|
Loading…
Reference in a new issue