@@ -178,20 +178,26 @@ jobs:
178178 echo "Kconfig patch not found, skipping"
179179 fi
180180
181+
181182 - name : Disable strong stack protector
182183 run : |
183- cd $GITHUB_WORKSPACE/kernel_workspace/android-kernel
184- echo "Listing scripts directory:"
185- ls -l scripts
186- echo "Checking scripts/config existence:"
187- ls -l scripts/config
188- make ARCH=arm64 ${DEVICE}_defconfig
189- ./scripts/config --disable CONFIG_CC_STACKPROTECTOR_STRONG
190- echo "Verifying CONFIG_CC_STACKPROTECTOR_STRONG is disabled:"
191- grep CONFIG_CC_STACKPROTECTOR_STRONG out/.config || echo "CONFIG_CC_STACKPROTECTOR_STRONG not found"
192- make ARCH=arm64 olddefconfig
193- echo "Final .config contents for stack protector:"
194- grep CONFIG_CC_STACKPROTECTOR out/.config || echo "No stack protector configs found"
184+ cd $GITHUB_WORKSPACE/kernel_workspace/android-kernel
185+ echo "Listing scripts directory:"
186+ ls -l scripts
187+ echo "Checking scripts/config existence:"
188+ ls -l scripts/config
189+ echo "Checking for lancelot_defconfig:"
190+ ls -l arch/arm64/configs/${DEVICE}_defconfig || echo "Defconfig not found"
191+ b. make ARCH=arm64 O=out ${DEVICE}_defconfig
192+ echo "Checking for out/.config:"
193+ ls -l out/.config || echo "out/.config not found"
194+ ./scripts/config --file out/.config --disable CONFIG_CC_STACKPROTECTOR_STRONG
195+ echo "Verifying CONFIG_CC_STACKPROTECTOR_STRONG is disabled:"
196+ grep CONFIG_CC_STACKPROTECTOR_STRONG out/.config || echo "CONFIG_CC_STACKPROTECTOR_STRONG not found"
197+ make ARCH=arm64 O=out olddefconfig
198+ echo "Final .config contents for stack protector:"
199+ grep CONFIG_CC_STACKPROTECTOR out/.config || echo "No stack protector configs found"
200+
195201
196202 - name : Download source boot image
197203 if : env.BUILD_BOOT_IMG == 'true'
0 commit comments