build: fix rkxx rpi4 build error

This commit is contained in:
ziguayungui
2024-03-24 15:42:12 +00:00
parent 7add5b2182
commit cee2cf6eca
5 changed files with 2389 additions and 4 deletions

View File

@@ -75,6 +75,7 @@ jobs:
[ -s dl/${IB_NAME}.tar.xz ]
grep -Fq ${IB_NAME}.tar.xz dl/sha256sums
cd dl && sha256sum -c --ignore-missing --status sha256sums
wget -O dl/${MF_NAME} ${IB_URL}${MF_NAME}
- name: Unpack IB
run: |
@@ -83,13 +84,23 @@ jobs:
cp -a src/* ib/
ls patches/ | sort | xargs -n1 sh -c 'patch -p1 -d ib -i ../patches/$0'
sed -i 's/ unofficial/ oversea/' ib/Makefile
case ${IB_NAME} in
case ${IB_URL} in
*x86*)
cp src/repositories_x86_64.conf ib/repositories.conf
cp src/target_x86_64.manifest ib/target.manifest
;;
*rk35xx*)
cp src/repositories_aarch64.conf ib/repositories.conf
cp src/target_rk35xx.manifest ib/target.manifest
;;
*rk33xx*)
cp src/repositories_aarch64.conf ib/repositories.conf
cp src/target_rk33xx.manifest ib/target.manifest
;;
*bcm2711*)
cp src/repositories_aarch64.conf ib/repositories.conf
cp src/target_bcm2711.manifest ib/target.manifest
;;
*)
cp src/repositories_aarch64.conf ib/repositories.conf
;;
esac
- name: Build