linux-postmarketos-exynos5: actually, i dont need to build with CC_OPTIMIZE_FOR_SIZE=y

This commit is contained in:
Colin 2024-06-09 07:00:26 +00:00
parent b24b68a6bd
commit 0382af1fae

View File

@ -35,14 +35,16 @@ let
KconfigStr = lib.replaceStrings
[
''CONFIG_LOCALVERSION="-postmarketos-exynos5"''
''CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y''
# ''CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y''
''CONFIG_BATTERY_SBS=y''
]
[
''CONFIG_LOCALVERSION=''
# XXX(2024/06/06): if the bzImage is too large, it fails to boot.
# probably an issue with the uboot relocations; not sure exactly what the size limit is.
''CONFIG_CC_OPTIMIZE_FOR_SIZE=y''
# XXX(2024/06/08): it now boots fine with the stock optimizations, though the difference in size is only 500KiB (about 10%).
# perhaps this was mis-diagnosed
# ''CONFIG_CC_OPTIMIZE_FOR_SIZE=y''
# XXX(2024/06/06): if this module is loaded before udev, then kernel panic.
# see: <repo:NixOS/mobile-nixos:devices/families/mainline-chromeos/default.nix>
''CONFIG_BATTERY_SBS=m''