Skip to content

Commit 4703c56

Browse files
Update build-rockchip-driver-debs.yml
1 parent bda0099 commit 4703c56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-rockchip-driver-debs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
fi
172172
173173
sudo mkdir -p "${MNT_DIR}/opt/openhd-driver-build/src" "${MNT_DIR}/opt/openhd-driver-build/out"
174-
sudo rsync -a --delete --exclude='.git' --exclude='.github' --exclude='*.o' --exclude='*.ko' \
174+
sudo rsync -a --delete --exclude='.github' --exclude='*.o' --exclude='*.ko' \
175175
--exclude='*.mod' --exclude='*.mod.c' --exclude='Module.symvers' --exclude='modules.order' \
176176
driver/ "${MNT_DIR}/opt/openhd-driver-build/src/"
177177
sudo cp /usr/bin/qemu-aarch64-static "${MNT_DIR}/usr/bin/" || true
@@ -261,7 +261,7 @@ jobs:
261261
for kver in "${kernels[@]}"; do
262262
ensure_headers "${kver}"
263263
make -C "${SRC_DIR}" clean || true
264-
make_args=(-C "${SRC_DIR}" -j"$(nproc)" ARCH=arm64 KVER="${kver}" KSRC="/lib/modules/${kver}/build")
264+
make_args=(-C "${SRC_DIR}" -j"$(nproc)" ARCH=arm64 KVER="${kver}" KSRC="/lib/modules/${kver}/build" KCFLAGS="-Wno-error=implicit-fallthrough")
265265
[[ -n "${USER_MODULE_NAME_VALUE}" ]] && make_args+=(USER_MODULE_NAME="${USER_MODULE_NAME_VALUE}")
266266
make "${make_args[@]}" modules
267267
ko="${SRC_DIR}/${MODULE_NAME}.ko"

0 commit comments

Comments
 (0)