summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Daniel Faria <paulfaria@google.com>2023-04-03 23:13:54 +0000
committerPaul Faria <paulfaria@google.com>2023-04-04 20:41:27 +0000
commitf965354f0207e9a94c342a399e073d565d24b5dc (patch)
tree1b61430b3e3db2b15b92807be0d1238459499b08
parent3e8e3212273bf36ffcd985000d34b3821e900e56 (diff)
downloadconfig-android-exynos-r11-4.19-android13-wear-kr3-qpr3-dr.tar.gz
Bug: 272532156 Change-Id: I29d31b3a851430fce0f65de5b8a769a3ed14c5a9
-rw-r--r--build.config.user10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.config.user b/build.config.user
new file mode 100644
index 0000000..023db6c
--- /dev/null
+++ b/build.config.user
@@ -0,0 +1,10 @@
+. ${ROOT_DIR}/build.config
+POST_DEFCONFIG_CMDS="check_defconfig && update_nodebugfs_config"
+
+function update_nodebugfs_config() {
+ # Disable debug fs options
+ ${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
+ -d DEBUG_FS
+ (cd ${OUT_DIR} && \
+ make O=${OUT_DIR} CLANG_TRIPLE=${CLANG_TRIPLE} CROSS_COMPILE=${CROSS_COMPILE} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig)
+}