radxa0: Add AML install packages to target-files
authorAaron Kling <webgeek1234@gmail.com>
Tue, 4 Jun 2024 02:32:56 +0000 (21:32 -0500)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 9 Jun 2024 06:03:11 +0000 (02:03 -0400)
To allow the official download portal to offer them

Change-Id: I729c5b95c10527ecdf25b70d9ead23c52ef373ab

AndroidBoard.mk [new file with mode: 0644]

diff --git a/AndroidBoard.mk b/AndroidBoard.mk
new file mode 100644 (file)
index 0000000..44d716b
--- /dev/null
@@ -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