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

Commit 688abdb9 authored by Anton Hansson's avatar Anton Hansson
Browse files

Add substitution for product_services and odm.

This enables using PRODUCT_COPY_FILES with these partitions, which
otherwise doesn't work because the list of targets to build/install
contains placeholders.

Bug: 80741439
Test: make
Change-Id: I9d49a3bc5212139a96c58cf550680257811371e2
parent 22f28aa1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -922,7 +922,9 @@ endef
define resolve-product-relative-paths
  $(subst $(_vendor_path_placeholder),$(TARGET_COPY_OUT_VENDOR),\
    $(subst $(_product_path_placeholder),$(TARGET_COPY_OUT_PRODUCT),\
      $(foreach p,$(1),$(call append-path,$(PRODUCT_OUT),$(p)$(2)))))
      $(subst $(_product_services_path_placeholder),$(TARGET_COPY_OUT_PRODUCT_SERVICES),\
        $(subst $(_odm_path_placeholder),$(TARGET_COPY_OUT_ODM),\
          $(foreach p,$(1),$(call append-path,$(PRODUCT_OUT),$(p)$(2)))))))
endef

# Lists most of the files a particular product installs, including: