build: fix rkxx rpi4 build error
This commit is contained in:
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user