2022-03-17 02:08:37 +01:00
|
|
|
ifeq ($(TARGET_BUILD_APPS),)
|
|
|
|
|
2022-02-13 00:39:22 +01:00
|
|
|
.PHONY: systemlicense
|
|
|
|
systemlicense: $(call corresponding-license-metadata, $(SYSTEM_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
ifneq (,$(SYSTEM_NOTICE_DEPS))
|
|
|
|
|
2022-09-23 03:47:21 +02:00
|
|
|
SYSTEM_NOTICE_DEPS += $(UNMOUNTED_NOTICE_DEPS) $(UNMOUNTED_NOTICE_VENDOR_DEPS)
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
ifneq ($(PRODUCT_NOTICE_SPLIT),true)
|
|
|
|
$(eval $(call html-notice-rule,$(target_notice_file_html_gz),"System image",$(system_notice_file_message),$(SYSTEM_NOTICE_DEPS),$(SYSTEM_NOTICE_DEPS)))
|
|
|
|
|
|
|
|
$(installed_notice_html_or_xml_gz): $(target_notice_file_html_gz)
|
|
|
|
$(copy-file-to-target)
|
|
|
|
else
|
|
|
|
$(eval $(call xml-notice-rule,$(target_notice_file_xml_gz),"System image",$(system_notice_file_message),$(SYSTEM_NOTICE_DEPS),$(SYSTEM_NOTICE_DEPS)))
|
|
|
|
|
|
|
|
$(eval $(call text-notice-rule,$(target_notice_file_txt),"System image",$(system_notice_file_message),$(SYSTEM_NOTICE_DEPS),$(SYSTEM_NOTICE_DEPS)))
|
|
|
|
|
|
|
|
$(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))
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: vendorlicense
|
|
|
|
vendorlicense: $(call corresponding-license-metadata, $(VENDOR_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
ifneq (,$(VENDOR_NOTICE_DEPS))
|
|
|
|
|
2022-09-23 03:47:21 +02:00
|
|
|
VENDOR_NOTICE_DEPS += $(UNMOUNTED_NOTICE_VENDOR_DEPS)
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(eval $(call text-notice-rule,$(target_vendor_notice_file_txt),"Vendor image", \
|
|
|
|
"Notices for files contained in all filesystem images except system/system_ext/product/odm/vendor_dlkm/odm_dlkm in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(VENDOR_NOTICE_DEPS),$(VENDOR_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(eval $(call xml-notice-rule,$(target_vendor_notice_file_xml_gz),"Vendor image", \
|
|
|
|
"Notices for files contained in all filesystem images except system/system_ext/product/odm/vendor_dlkm/odm_dlkm in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(VENDOR_NOTICE_DEPS),$(VENDOR_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(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))
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: odmlicense
|
|
|
|
odmlicense: $(call corresponding-license-metadata, $(ODM_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
ifneq (,$(ODM_NOTICE_DEPS))
|
|
|
|
$(eval $(call text-notice-rule,$(target_odm_notice_file_txt),"ODM filesystem image", \
|
|
|
|
"Notices for files contained in the odm filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(ODM_NOTICE_DEPS),$(ODM_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(eval $(call xml-notice-rule,$(target_odm_notice_file_xml_gz),"ODM filesystem image", \
|
|
|
|
"Notices for files contained in the odm filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(ODM_NOTICE_DEPS),$(ODM_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(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))
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: oemlicense
|
|
|
|
oemlicense: $(call corresponding-license-metadata, $(OEM_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
.PHONY: productlicense
|
|
|
|
productlicense: $(call corresponding-license-metadata, $(PRODUCT_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
ifneq (,$(PRODUCT_NOTICE_DEPS))
|
|
|
|
$(eval $(call text-notice-rule,$(target_product_notice_file_txt),"Product image", \
|
|
|
|
"Notices for files contained in the product filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(PRODUCT_NOTICE_DEPS),$(PRODUCT_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(eval $(call xml-notice-rule,$(target_product_notice_file_xml_gz),"Product image", \
|
|
|
|
"Notices for files contained in the product filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(PRODUCT_NOTICE_DEPS),$(PRODUCT_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(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))
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: systemextlicense
|
|
|
|
systemextlicense: $(call corresponding-license-metadata, $(SYSTEM_EXT_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
ifneq (,$(SYSTEM_EXT_NOTICE_DEPS))
|
|
|
|
$(eval $(call text-notice-rule,$(target_system_ext_notice_file_txt),"System_ext image", \
|
|
|
|
"Notices for files contained in the system_ext filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(SYSTEM_EXT_NOTICE_DEPS),$(SYSTEM_EXT_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(eval $(call xml-notice-rule,$(target_system_ext_notice_file_xml_gz),"System_ext image", \
|
|
|
|
"Notices for files contained in the system_ext filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(SYSTEM_EXT_NOTICE_DEPS),$(SYSTEM_EXT_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(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))
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: vendor_dlkmlicense
|
|
|
|
vendor_dlkmlicense: $(call corresponding-license-metadata, $(VENDOR_DLKM_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
ifneq (,$(VENDOR_DLKM_NOTICE_DEPS))
|
|
|
|
$(eval $(call text-notice-rule,$(target_vendor_dlkm_notice_file_txt),"Vendor_dlkm image", \
|
|
|
|
"Notices for files contained in the vendor_dlkm filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(VENDOR_DLKM_NOTICE_DEPS),$(VENDOR_DLKM_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(eval $(call xml-notice-rule,$(target_vendor_dlkm_notice_file_xml_gz),"Vendor_dlkm image", \
|
|
|
|
"Notices for files contained in the vendor_dlkm filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(VENDOR_DLKM_NOTICE_DEPS),$(VENDOR_DLKM_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(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))
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: odm_dlkmlicense
|
|
|
|
odm_dlkmlicense: $(call corresponding-license-metadata, $(ODM_DLKM_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
ifneq (,$(ODM_DLKM_NOTICE_DEPS))
|
|
|
|
$(eval $(call text-notice-rule,$(target_odm_dlkm_notice_file_txt),"ODM_dlkm filesystem image", \
|
|
|
|
"Notices for files contained in the odm_dlkm filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(ODM_DLKM_NOTICE_DEPS),$(ODM_DLKM_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(eval $(call xml-notice-rule,$(target_odm_dlkm_notice_file_xml_gz),"ODM_dlkm filesystem image", \
|
|
|
|
"Notices for files contained in the odm_dlkm filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(ODM_DLKM_NOTICE_DEPS),$(ODM_DLKM_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(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))
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: system_dlkmlicense
|
|
|
|
system_dlkmlicense: $(call corresponding-license-metadata, $(SYSTEM_DLKM_NOTICE_DEPS)) reportmissinglicenses
|
|
|
|
|
|
|
|
ifneq (,$(SYSTEM_DLKM_NOTICE_DEPS))
|
|
|
|
$(eval $(call text-notice-rule,$(target_system_dlkm_notice_file_txt),"System_dlkm filesystem image", \
|
|
|
|
"Notices for files contained in the system_dlkm filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(SYSTEM_DLKM_NOTICE_DEPS),$(SYSTEM_DLKM_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(eval $(call xml-notice-rule,$(target_system_dlkm_notice_file_xml_gz),"System_dlkm filesystem image", \
|
|
|
|
"Notices for files contained in the system_dlkm filesystem image in this directory:", \
|
2022-08-02 19:46:48 +02:00
|
|
|
$(SYSTEM_DLKM_NOTICE_DEPS),$(SYSTEM_DLKM_NOTICE_DEPS)))
|
2022-02-13 00:39:22 +01:00
|
|
|
|
|
|
|
$(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))
|
|
|
|
endif
|
2022-03-17 02:08:37 +01:00
|
|
|
|
|
|
|
endif # not TARGET_BUILD_APPS
|