linux-postmarketos-exynos5: actually, i dont need to build with CC_OPTIMIZE_FOR_SIZE=y
This commit is contained in:
@@ -35,14 +35,16 @@ let
|
|||||||
KconfigStr = lib.replaceStrings
|
KconfigStr = lib.replaceStrings
|
||||||
[
|
[
|
||||||
''CONFIG_LOCALVERSION="-postmarketos-exynos5"''
|
''CONFIG_LOCALVERSION="-postmarketos-exynos5"''
|
||||||
''CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y''
|
# ''CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y''
|
||||||
''CONFIG_BATTERY_SBS=y''
|
''CONFIG_BATTERY_SBS=y''
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
''CONFIG_LOCALVERSION=''
|
''CONFIG_LOCALVERSION=''
|
||||||
# XXX(2024/06/06): if the bzImage is too large, it fails to boot.
|
# 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.
|
# 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.
|
# 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>
|
# see: <repo:NixOS/mobile-nixos:devices/families/mainline-chromeos/default.nix>
|
||||||
''CONFIG_BATTERY_SBS=m''
|
''CONFIG_BATTERY_SBS=m''
|
||||||
|
Reference in New Issue
Block a user