File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ if [ "$1" == "-h" -o "$1" == "--help" ]; then
4343fi
4444
4545if [ -z " $1 " -o " $1 " == " -b" -o " $1 " == " --build" ]; then
46+ bash kmesh_macros_env_kernel.sh
4647 prepare
4748 make
4849 exit
Original file line number Diff line number Diff line change @@ -146,6 +146,10 @@ function set_enhanced_kernel_env() {
146146
147147 KERNEL_MAJOR=$( uname -r | awk -F ' .' ' {print $1}' )
148148
149+ zcat /proc/config.gz | grep BTF
150+ cat " /boot/config-$( uname -r) " | grep BTF
151+ check_config " CONFIG_DEBUG_INFO_BTF_MODULES"
152+ check_config " CONFIG_DEBUG_INFO_BTF"
149153 if grep -q " FN(parse_header_msg)" $KERNEL_HEADER_LINUX_BPF ||
150154 [ " $( check_config " CONFIG_DEBUG_INFO_BTF_MODULES" ) " == " y" ] &&
151155 [ " $( check_config " CONFIG_DEBUG_INFO_BTF" ) " == " y" ] &&
Original file line number Diff line number Diff line change 3939 set_config ENHANCED_KERNEL 0
4040fi
4141
42+ zcat /proc/config.gz | grep BTF
43+ cat " /boot/config-$( uname -r) " | grep BTF
4244# KERNEL_KFUNC
4345if [ " $( check_config " CONFIG_DEBUG_INFO_BTF_MODULES" ) " == " y" ] &&
4446 [ " $( check_config " CONFIG_DEBUG_INFO_BTF" ) " == " y" ] &&
@@ -48,3 +50,5 @@ if [ "$(check_config "CONFIG_DEBUG_INFO_BTF_MODULES")" == "y" ] &&
4850else
4951 set_config KERNEL_KFUNC 0
5052fi
53+
54+ cat config/kmesh_marcos_def.h
You can’t perform that action at this time.
0 commit comments