소스 검색

ci: add auto.conf include to baseband_guard Makefile

Ensure kernel config symbols are available during build by including auto.conf in the baseband_guard Makefile
TheWildJames 11 달 전
부모
커밋
a44bda20d8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .github/workflows/build.yml

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

@@ -272,6 +272,7 @@ jobs:
           wget -O- https://github.com/vc-teahouse/Baseband-guard/raw/main/setup.sh | bash
           echo "CONFIG_BBG=y" >> arch/arm64/configs/gki_defconfig
           sed -i '/^config LSM$/,/^help$/{ /^[[:space:]]*default/ { /baseband_guard/! s/landlock/landlock,baseband_guard/ } }' security/Kconfig
+          sed -i '/^obj-\$$(CONFIG_BBG) += baseband_guard.o/i # Include kernel config symbols (safe point)\n-include $(srctree)/include/config/auto.conf' security/baseband_guard/Makefile
 
       - name: Apply Module Check Bypass
         if: ${{ matrix.apply_module_check_bypass == 'bypass' }}