Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c1497a7 authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am cb73599b: Make dangling module names in PRODUCT_FACTORY_RAMDISK_MODULES non-fatal.

* commit 'cb73599b':
  Make dangling module names in PRODUCT_FACTORY_RAMDISK_MODULES non-fatal.
parents f495c125 cb73599b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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