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

Commit 4305cf27 authored by Ian Kasprzak's avatar Ian Kasprzak
Browse files

Switch from VENDOR_BLOBS_NOTICE to VENDOR_BLOBS_LICENSE.

Update of build variable to VENDOR_BLOBS_LICENSE
will be done via update to vendor-blob generation scripts.

Bug: 125451157
Test: Verified output in out and dist folders (with local rename).
Change-Id: I94190f0ef95a58464dceca912f8759023095fc7d
parent 88d1b62b
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ with_license_intermediates := \
license_image_input_zip := $(with_license_intermediates)/$(name).zip
$(license_image_input_zip) : $(BUILT_TARGET_FILES_PACKAGE) $(ZIP2ZIP)
# DO NOT PROCEED without a license file.
ifndef VENDOR_BLOBS_NOTICE
	@echo "with-license requires VENDOR_BLOBS_NOTICE to be set."
ifndef VENDOR_BLOBS_LICENSE
	@echo "with-license requires VENDOR_BLOBS_LICENSE to be set."
	exit 1
else
	$(ZIP2ZIP) -i $(BUILT_TARGET_FILES_PACKAGE) -o $@ \
@@ -41,11 +41,11 @@ endif
with_license_zip := $(PRODUCT_OUT)/$(name).sh
$(with_license_zip): PRIVATE_NAME := $(name)
$(with_license_zip): PRIVATE_INPUT_ZIP := $(license_image_input_zip)
$(with_license_zip): PRIVATE_VENDOR_BLOBS_NOTICE := $(VENDOR_BLOBS_NOTICE)
$(with_license_zip): $(license_image_input_zip) $(VENDOR_BLOBS_NOTICE)
$(with_license_zip): PRIVATE_VENDOR_BLOBS_LICENSE := $(VENDOR_BLOBS_LICENSE)
$(with_license_zip): $(license_image_input_zip) $(VENDOR_BLOBS_LICENSE)
$(with_license_zip): $(HOST_OUT_EXECUTABLES)/generate-self-extracting-archive
	# Args: <output> <input archive> <comment> <license file>
	$(HOST_OUT_EXECUTABLES)/generate-self-extracting-archive $@ \
		$(PRIVATE_INPUT_ZIP) $(PRIVATE_NAME) $(PRIVATE_VENDOR_BLOBS_NOTICE)
		$(PRIVATE_INPUT_ZIP) $(PRIVATE_NAME) $(PRIVATE_VENDOR_BLOBS_LICENSE)
with-license : $(with_license_zip)
$(call dist-for-goals, with-license, $(with_license_zip))