ci: add mainline dt name support
authorHan Gao <gaohan@iscas.ac.cn>
Fri, 12 Jan 2024 02:10:44 +0000 (10:10 +0800)
committerHan Gao/Revy/Rabenda <rabenda.cn@gmail.com>
Tue, 23 Jan 2024 16:00:18 +0000 (00:00 +0800)
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
.github/workflows/build.yml

index aaf03a6ebcd1e7959ed01ad0e3e5b803f8dd6c51..bfa9f9987a5564f2ee857d76db662636504ea6d6 100644 (file)
@@ -90,6 +90,19 @@ jobs:
                 make light_milkv_meles_singlerank_defconfig
                 make -j$(nproc)
                 find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-meles-4g.bin
+
+                # mainline support
+                make clean
+                make light_lpi4a_defconfig
+                sed -i 's#thead/light-lpi4a.dtb#thead/th1520-lichee-pi-4a.dtb#' .config
+                make -j$(nproc)
+                find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-lpi4a-main.bin
+
+                make clean
+                make light_lpi4a_16g_defconfig
+                sed -i 's#thead/light-lpi4a-16gb.dtb#thead/th1520-lichee-pi-4a-16g.dtb#' .config
+                make -j$(nproc)
+                find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-lpi4a-16g-main.bin
               popd
               tree ${GITHUB_WORKSPACE}/output