Przeglądaj źródła

ci(workflows): fix binder Makefile modification in build workflow

The previous perl command was incorrectly matching and removing too many lines from the Makefile. This update ensures only lines containing CONFIG_ANDROID_BINDER_IPC_RUST_DUMMY are removed, preserving other important Makefile content.
TheWildJames 9 miesięcy temu
rodzic
commit
5776c61e69
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      .github/workflows/build.yml

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

@@ -602,7 +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 -ne 'print unless /obj-\$\(CONFIG_ANDROID_BINDER_IPC_RUST_DUMMY\)/ .. /rust_binder-\$\(CONFIG_ANDROID_BINDER_IPC_RUST_DUMMY\)/' drivers/android/binder/Makefile
+            perl -i -ne 'print unless /CONFIG_ANDROID_BINDER_IPC_RUST_DUMMY/' common/drivers/android/binder/Makefile
             cat common/drivers/android/Makefile
             cat common/drivers/android/binder/Makefile
           else