diff options
author | Ying Wang <wangying@google.com> | 2015-01-28 00:42:49 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-28 00:42:49 +0000 |
commit | 14bc97f615b31f6bd7dcce306f6285d65567809b (patch) | |
tree | 390a89ef7d5ca36058ad71c6d49ab5cff7910a7c /core/tasks | |
parent | 5ba2122f772ffa77aa13efb8f93fcb58db1e6a35 (diff) | |
parent | 75705338b7e8e1353503b53f10274fda5c3cf7bf (diff) | |
download | build-14bc97f615b31f6bd7dcce306f6285d65567809b.zip build-14bc97f615b31f6bd7dcce306f6285d65567809b.tar.gz build-14bc97f615b31f6bd7dcce306f6285d65567809b.tar.bz2 |
am 75705338: am 1c1497a7: am cb73599b: Make dangling module names in PRODUCT_FACTORY_RAMDISK_MODULES non-fatal.
* commit '75705338b7e8e1353503b53f10274fda5c3cf7bf':
Make dangling module names in PRODUCT_FACTORY_RAMDISK_MODULES non-fatal.
Diffstat (limited to 'core/tasks')
-rw-r--r-- | core/tasks/factory_bundle.mk | 3 | ||||
-rw-r--r-- | core/tasks/factory_ramdisk.mk | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/core/tasks/factory_bundle.mk b/core/tasks/factory_bundle.mk index 054a52a..51531cb 100644 --- a/core/tasks/factory_bundle.mk +++ b/core/tasks/factory_bundle.mk @@ -46,7 +46,7 @@ copied_files := \ $(eval _fb_m_name := $(word 1,$(_fb_m_tuple))) \ $(eval _fb_dests := $(wordlist 2,999,$(_fb_m_tuple))) \ $(eval _fb_m_built := $(filter $(HOST_OUT)/%, $(ALL_MODULES.$(_fb_m_name).BUILT))) \ - $(if $(_fb_m_built),,$(error no built file in requested_modules for '$(_fb_m_built)'))\ + $(if $(_fb_m_built),,$(warning no built file in requested_modules for '$(_fb_m_built)'))\ $(foreach _fb_f,$(_fb_dests),$(eval $(call copy-one-file,$(_fb_m_built),$(root_dir)/$(_fb_f))))\ $(addprefix $(root_dir)/,$(_fb_dests)) \ )) \ @@ -82,4 +82,3 @@ endif endif # TARGET_BUILD_PDK endif # ONE_SHOT_MAKEFILE - diff --git a/core/tasks/factory_ramdisk.mk b/core/tasks/factory_ramdisk.mk index 00fcdde..d65d931 100644 --- a/core/tasks/factory_ramdisk.mk +++ b/core/tasks/factory_ramdisk.mk @@ -44,7 +44,7 @@ $(if $(filter 1,$(words $(_iofrm_src))), \ $(eval _fulldest := $(TARGET_FACTORY_RAMDISK_OUT)/$(1)) \ $(eval $(call copy-one-file,$(_iofrm_src),$(_fulldest))) \ $(eval INTERNAL_FACTORY_RAMDISK_EXTRA_MODULES_FILES += $(_fulldest)), \ - $(error Error: Cannot find match in "$(2)" for "$(1)") \ + $(warning Warning: Cannot find built file in "$(2)" for "$(1)") \ ) endef |