Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Use O2 and some config changes #19

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning, attribute-alias)
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os
else
KBUILD_CFLAGS += -O3
KBUILD_CFLAGS += -O2
endif

ifeq ($(cc-name),clang)
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/configs/vendor/grass.config
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
# CONFIG_THINLTO is not set
# CONFIG_UFS_DATA_LOG is not set
# CONFIG_USB_DEBUG_DETAILED_LOG is not set
# CONFIG_SLUB_CPU_PARTIAL is not set
# CONFIG_FAST_TRACK is not set
CONFIG_ANDROID_BINDERFS=y
CONFIG_BLK_CGROUP=y
CONFIG_BPF_JIT=y
Expand Down Expand Up @@ -77,3 +79,7 @@ CONFIG_UNIX_SCM=y
CONFIG_WIREGUARD=y
CONFIG_ZRAM_DEF_COMP_LZ4=y
CONFIG_KSU=n
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_DEV_THROTTLING_LOW=y
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y