File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -461,12 +461,15 @@ runs:
461461 MAKE_ARGS="LLVM=1 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- \
462462 RUSTC=$KERNEL_PATH/prebuilts/rust/linux-x86/1.73.0b/bin/rustc \
463463 PAHOLE=$KERNEL_PATH/prebuilts/kernel-build-tools/linux-x86/bin/pahole \
464- LD=ld.lld HOSTLD=ld.lld KCFLAGS+=-Wno-error "
464+ LD=ld.lld HOSTLD=ld.lld"
465465 if [[ -v USE_LLVM_IAS ]]; then
466466 MAKE_ARGS="LLVM_IAS=1 $MAKE_ARGS"
467467 fi
468- make -j$(nproc --all) O=out $MAKE_ARGS gki_defconfig || exit 1
469- make -j$(nproc --all) O=out $MAKE_ARGS || exit 1
468+
469+ echo "CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y" >> ./arch/arm64/configs/gki_defconfig
470+
471+ make -j$(nproc --all) O=out $MAKE_ARGS KCFLAGS+="-Wno-error -O2" gki_defconfig || exit 1
472+ make -j$(nproc --all) O=out $MAKE_ARGS KCFLAGS+="-Wno-error -O2"|| exit 1
470473
471474 - name : Create Kernel ZIP
472475 id : create_zip
You can’t perform that action at this time.
0 commit comments