forked from LineageOS/android_kernel_google_wahoo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.config.debug_locking
33 lines (32 loc) · 1.14 KB
/
build.config.debug_locking
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
function update_debug_config() {
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
-e CONFIG_DEBUG_RT_MUTEXES \
-e CONFIG_DEBUG_SPINLOCK \
-e CONFIG_DEBUG_SPINLOCK_PANIC_ON_BUG \
-e CONFIG_DEBUG_MUTEXES \
-e CONFIG_DEBUG_PREEMPT \
-e CONFIG_DEBUG_ATOMIC_SLEEP \
-d CONFIG_KERNEL_LZ4
(cd ${OUT_DIR} && \
make O=${OUT_DIR} $archsubarch CROSS_COMPILE=${CROSS_COMPILE} olddefconfig)
}
ARCH=arm64
BRANCH=android-msm-wahoo-4.4
CROSS_COMPILE=aarch64-linux-android-
CROSS_COMPILE_ARM32=arm-linux-androideabi-
DEFCONFIG=wahoo_defconfig
EXTRA_CMDS=''
KERNEL_DIR=private/msm-google
POST_DEFCONFIG_CMDS="update_debug_config"
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin
LINUX_GCC_CROSS_COMPILE_ARM32_PREBUILTS_BIN=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin
LZ4_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/lz4
DTC_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/dtc
LIBUFDT_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/libufdt
FILES="
arch/arm64/boot/dtbo.img
arch/arm64/boot/Image.gz-dtb
vmlinux
System.map
"
IN_KERNEL_MODULES=1