forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/tools/perf/trace/beauty/arch_errno_names.sh
....@@ -57,7 +57,7 @@
5757 local arch="$1"
5858 local asm_errno=$(asm_errno_file "$arch")
5959
60
- $gcc $include_path -E -dM -x c $asm_errno \
60
+ $gcc $CFLAGS $include_path -E -dM -x c $asm_errno \
6161 |grep -hE '^#define[[:blank:]]+(E[^[:blank:]]+)[[:blank:]]+([[:digit:]]+).*' \
6262 |awk '{ print $2","$3; }' \
6363 |sort -t, -k2 -nu \