Skip to content

Commit 611746b

Browse files
amazingfateigorpecovnik
authored andcommitted
Revert "armbian-kernel: skip enabling BTF for rk35xx vendor kernel"
This reverts commit b17e9e5.
1 parent 5106212 commit 611746b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/functions/compilation/armbian-kernel.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,9 @@ function armbian_kernel_config__600_enable_ebpf_and_btf_info() {
5151
declare -a opts_y=(
5252
"CONFIG_BPF_JIT" "CONFIG_BPF_JIT_DEFAULT_ON" "CONFIG_FTRACE_SYSCALLS" "CONFIG_PROBE_EVENTS_BTF_ARGS" "CONFIG_BPF_KPROBE_OVERRIDE"
5353
"CONFIG_DEBUG_INFO" "CONFIG_DEBUG_INFO_DWARF5"
54+
"CONFIG_DEBUG_INFO_BTF" "CONFIG_DEBUG_INFO_BTF_MODULES"
5455
)
5556

56-
# We don't enable BTF on rk vendor kernel because it will cause some dkms module load with kernel panic
57-
if [[ "${LINUXFAMILY}" != "rk35xx" ]]; then
58-
opts_y+=("CONFIG_DEBUG_INFO_BTF")
59-
fi
60-
6157
if [[ "${ARCH}" == "arm64" ]]; then
6258
opts_y+=("CONFIG_ARM64_VA_BITS_48")
6359
opts_val["CONFIG_ARM64_PA_BITS"]="48"

0 commit comments

Comments
 (0)