This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ANDROID: Rename build.config.gki.arch_kasan
Rename build.config.gki.arch_kasan -> build.config.gki_kasan.arch and build.config_kasan.gki -> build.config.gki_kasan Bug: 152792812 Change-Id: I88beb1ec7342d480b717e42e50cd204c4ae43a24 Signed-off-by: Max Spector <mspector@google.com>
- Loading branch information
1 parent
3031e16
commit 6e217bf
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
DEFCONFIG=gki_defconfig | ||
POST_DEFCONFIG_CMDS="check_defconfig && update_kasan_config" | ||
KERNEL_DIR=common | ||
function update_kasan_config() { | ||
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \ | ||
-e CONFIG_KASAN \ | ||
-e CONFIG_KASAN_INLINE \ | ||
-e CONFIG_KASAN_PANIC_ON_WARN \ | ||
-e CONFIG_KCOV \ | ||
-e CONFIG_PANIC_ON_WARN_DEFAULT_ENABLE \ | ||
-d CONFIG_RANDOMIZE_BASE \ | ||
-d CONFIG_KASAN_OUTLINE \ | ||
--set-val CONFIG_FRAME_WARN 0 \ | ||
-d LTO \ | ||
-d LTO_CLANG \ | ||
-d CFI \ | ||
-d CFI_PERMISSIVE \ | ||
-d CFI_CLANG \ | ||
-d SHADOW_CALL_STACK | ||
(cd ${OUT_DIR} && \ | ||
make ${CC_LD_ARG} O=${OUT_DIR} olddefconfig) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
. ${ROOT_DIR}/common/build.config.common | ||
. ${ROOT_DIR}/common/build.config.aarch64 | ||
. ${ROOT_DIR}/common/build.config.gki_kasan | ||
|
||
ABI_DEFINITION=abi_gki_aarch64.xml | ||
KMI_WHITELIST=abi_gki_aarch64_whitelist | ||
ADDITIONAL_KMI_WHITELISTS=" | ||
abi_gki_aarch64_cuttlefish_whitelist | ||
abi_gki_aarch64_qcom_whitelist | ||
" | ||
TRIM_NONLISTED_KMI=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
. ${ROOT_DIR}/common/build.config.common | ||
. ${ROOT_DIR}/common/build.config.x86_64 | ||
. ${ROOT_DIR}/common/build.config.gki_kasan | ||
|