From 8e4f5fd1dce6a7627eb072ab941d2284c99c5564 Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Mon, 3 Jun 2024 21:32:56 -0500 Subject: [PATCH] radxa0: Add AML install packages to target-files To allow the official download portal to offer them Change-Id: I729c5b95c10527ecdf25b70d9ead23c52ef373ab (cherry picked from commit 7403b533bd3fd40925f491b5086ba5b6bdad837f) --- AndroidBoard.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 AndroidBoard.mk diff --git a/AndroidBoard.mk b/AndroidBoard.mk new file mode 100644 index 0000000..44d716b --- /dev/null +++ b/AndroidBoard.mk @@ -0,0 +1,13 @@ +# +# Copyright (C) 2024 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +BUILT_TARGET_FILES_ZIPROOT := $(call intermediates-dir-for,PACKAGING,target_files)/$(TARGET_PRODUCT)-target_files +$(BUILT_TARGET_FILES_ZIPROOT).zip: $(BUILT_TARGET_FILES_ZIPROOT)/IMAGES/aml_install_package.img + +$(BUILT_TARGET_FILES_ZIPROOT)/IMAGES/aml_install_package.img: $(BUILT_TARGET_FILES_ZIPROOT).zip.list $(PRODUCT_OUT)/aml_install_package.img + @mkdir -p $(dir $@) + @cp $(PRODUCT_OUT)/aml_install_package.img $@ + @echo $@ >> $(BUILT_TARGET_FILES_ZIPROOT).zip.list -- 2.20.1