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

Commit 1d3cba13 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

build: Fix CM notice aggregation

Don't barf out if a device repo doesn't have a notice file

Change-Id: Ie42f40d5ff2fca4c86abb4b94d9900286570bcd5
parent ea7a6592
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -589,9 +589,11 @@ $(kernel_notice_file): \
$(device_notice_file): \
	    $(strip $(wildcard $(TARGET_DEVICE_DIR)/NOTICE.cm)) \
	    | $(ACP)
	@echo Copying device notice: $@
	$(hide) mkdir -p $(dir $@)
	$(hide) $(ACP) $< $@
	$(hide) if [ -f "$(TARGET_DEVICE_DIR)/NOTICE.cm" ]; then \
	    echo Copying device notice: $@; \
	    mkdir -p $(dir $@); \
	    $(ACP) $< $@; \
	fi

# -----------------------------------------------------------------
# Build a keystore with the authorized keys in it, used to verify the