Skip to content

Commit

Permalink
Update build-kernel-op11.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWildJames authored Feb 1, 2025
1 parent 64f4766 commit 89b7529
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build-kernel-op11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,6 @@ jobs:
# Add additional tmpfs config setting
echo "CONFIG_TMPFS_XATTR=y" >> ./common/arch/arm64/configs/gki_defconfig
- name: Set LTO to THIN
run: |
cd "$CONFIG/kernel_platform
echo "CONFIG_LTO_CLANG_FULL=n" >> ./common/arch/arm64/configs/gki_defconfig
echo "CONFIG_LTO_CLANG_NONE=n" >> ./common/arch/arm64/configs/gki_defconfig
echo "CONFIG_LTO=y" >> ./common/arch/arm64/configs/gki_defconfig
echo "CONFIG_LTO_CLANG_THIN=y" >> ./common/arch/arm64/configs/gki_defconfig
- name: Run sed and perl Commands
run: |
echo "Changing to configuration directory: $CONFIG..."
Expand All @@ -172,8 +163,8 @@ jobs:
sed -i 's/-dirty//' ./common/scripts/setlocalversion
sed -i 's/-dirty//' ./msm-kernel/scripts/setlocalversion
#sed -i '/echo "LTO $LTO "/i export LTO=thin' ./oplus/build/oplus_setup.sh
#sed -i 's/export REPACK_IMG=true/export REPACK_IMG=false/g' ./oplus/build/oplus_setup.sh
sed -i '/echo "LTO $LTO "/i export LTO=thin' ./oplus/build/oplus_setup.sh
sed -i 's/export REPACK_IMG=true/export REPACK_IMG=false/g' ./oplus/build/oplus_setup.sh
# Run perl command to modify UTS_VERSION
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Sat Apr 20 04:20:00 UTC 2024"}' ./common/scripts/mkcompile_h
Expand Down

0 comments on commit 89b7529

Please sign in to comment.