From 7aee59482baed6e08bde89583a96be5b3b33cf75 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Wed, 1 Mar 2023 15:51:24 -0800 Subject: [PATCH] Can declare 1p without cycles. Test: m droid dist Change-Id: I044f1832db36d685628faed569f87491a6789591 --- core/os_licensing.mk | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/core/os_licensing.mk b/core/os_licensing.mk index db7c422205..1e1b7df7a9 100644 --- a/core/os_licensing.mk +++ b/core/os_licensing.mk @@ -21,8 +21,8 @@ $(installed_notice_html_or_xml_gz): $(target_notice_file_xml_gz) $(copy-file-to-target) endif -$(call declare-0p-target,$(target_notice_file_xml_gz)) -$(call declare-0p-target,$(installed_notice_html_or_xml_gz)) +$(call declare-1p-target,$(target_notice_file_xml_gz)) +$(call declare-1p-target,$(installed_notice_html_or_xml_gz)) endif .PHONY: vendorlicense @@ -43,8 +43,8 @@ $(eval $(call xml-notice-rule,$(target_vendor_notice_file_xml_gz),"Vendor image" $(installed_vendor_notice_xml_gz): $(target_vendor_notice_file_xml_gz) $(copy-file-to-target) -$(call declare-0p-target,$(target_vendor_notice_file_xml_gz)) -$(call declare-0p-target,$(installed_vendor_notice_xml_gz)) +$(call declare-1p-target,$(target_vendor_notice_file_xml_gz)) +$(call declare-1p-target,$(installed_vendor_notice_xml_gz)) endif .PHONY: odmlicense @@ -62,8 +62,8 @@ $(eval $(call xml-notice-rule,$(target_odm_notice_file_xml_gz),"ODM filesystem i $(installed_odm_notice_xml_gz): $(target_odm_notice_file_xml_gz) $(copy-file-to-target) -$(call declare-0p-target,$(target_odm_notice_file_xml_gz)) -$(call declare-0p-target,$(installed_odm_notice_xml_gz)) +$(call declare-1p-target,$(target_odm_notice_file_xml_gz)) +$(call declare-1p-target,$(installed_odm_notice_xml_gz)) endif .PHONY: oemlicense @@ -84,8 +84,8 @@ $(eval $(call xml-notice-rule,$(target_product_notice_file_xml_gz),"Product imag $(installed_product_notice_xml_gz): $(target_product_notice_file_xml_gz) $(copy-file-to-target) -$(call declare-0p-target,$(target_product_notice_file_xml_gz)) -$(call declare-0p-target,$(installed_product_notice_xml_gz)) +$(call declare-1p-target,$(target_product_notice_file_xml_gz)) +$(call declare-1p-target,$(installed_product_notice_xml_gz)) endif .PHONY: systemextlicense @@ -103,8 +103,8 @@ $(eval $(call xml-notice-rule,$(target_system_ext_notice_file_xml_gz),"System_ex $(installed_system_ext_notice_xml_gz): $(target_system_ext_notice_file_xml_gz) $(copy-file-to-target) -$(call declare-0p-target,$(target_system_ext_notice_file_xml_gz)) -$(call declare-0p-target,$(installed_system_ext_notice_xml_gz)) +$(call declare-1p-target,$(target_system_ext_notice_file_xml_gz)) +$(call declare-1p-target,$(installed_system_ext_notice_xml_gz)) endif .PHONY: vendor_dlkmlicense @@ -122,8 +122,8 @@ $(eval $(call xml-notice-rule,$(target_vendor_dlkm_notice_file_xml_gz),"Vendor_d $(installed_vendor_dlkm_notice_xml_gz): $(target_vendor_dlkm_notice_file_xml_gz) $(copy-file-to-target) -$(call declare-0p-target,$(target_vendor_dlkm_notice_file_xml_gz)) -$(call declare-0p-target,$(installed_vendor_dlkm_notice_xml_gz)) +$(call declare-1p-target,$(target_vendor_dlkm_notice_file_xml_gz)) +$(call declare-1p-target,$(installed_vendor_dlkm_notice_xml_gz)) endif .PHONY: odm_dlkmlicense @@ -141,8 +141,8 @@ $(eval $(call xml-notice-rule,$(target_odm_dlkm_notice_file_xml_gz),"ODM_dlkm fi $(installed_odm_dlkm_notice_xml_gz): $(target_odm_dlkm_notice_file_xml_gz) $(copy-file-to-target) -$(call declare-0p-target,$(target_odm_dlkm_notice_file_xml_gz)) -$(call declare-0p-target,$(installed_odm_dlkm_notice_xml_gz)) +$(call declare-1p-target,$(target_odm_dlkm_notice_file_xml_gz)) +$(call declare-1p-target,$(installed_odm_dlkm_notice_xml_gz)) endif .PHONY: system_dlkmlicense @@ -160,8 +160,8 @@ $(eval $(call xml-notice-rule,$(target_system_dlkm_notice_file_xml_gz),"System_d $(installed_system_dlkm_notice_xml_gz): $(target_system_dlkm_notice_file_xml_gz) $(copy-file-to-target) -$(call declare-0p-target,$(target_system_dlkm_notice_file_xml_gz)) -$(call declare-0p-target,$(installed_sysetm_dlkm_notice_xml_gz)) +$(call declare-1p-target,$(target_system_dlkm_notice_file_xml_gz)) +$(call declare-1p-target,$(installed_sysetm_dlkm_notice_xml_gz)) endif endif # not TARGET_BUILD_APPS