Просмотр исходного кода

ci(workflows): update binder driver build configuration

Modify the build workflow to ensure the Android binder driver is built as a module by updating both binder/Makefile and android/Makefile. This change aligns with the kernel module build requirements.
TheWildJames 9 месяцев назад
Родитель
Сommit
d09e2365f5
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      .github/workflows/build.yml

+ 1 - 0
.github/workflows/build.yml

@@ -602,6 +602,7 @@ jobs:
           
           if [ -f common/drivers/android/binder/Makefile ]; then
             perl -i -0777 -pe 's/\$\(\s*CONFIG_ANDROID_BINDER_IPC_RUST\s*\)/m/' common/drivers/android/binder/Makefile
+            perl -i -pe 's/obj-y \+= binder\//obj-m += binder\//' common/drivers/android/Makefile
             cat common/drivers/android/Makefile
             cat common/drivers/android/binder/Makefile
           else