From a2e7dfa6a0159b34b21a7117928e24daa0d109c7 Mon Sep 17 00:00:00 2001 From: chenyanpanX Date: Tue, 12 Apr 2022 09:53:55 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20./configure=20--disable-de?= =?UTF-8?q?fault=20--enable-target-XXX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a57a143e..aa14024f 100755 --- a/configure +++ b/configure @@ -134,11 +134,11 @@ echo "EXTRA_LDFLAGS = --static" >> $config_host_mak fi if [ $default_target = "yes" ]; then -target_list="tcp_syn_drop cpuirq sysmonitor cpu_flamegraph $target_list" + target_list="tcp_syn_drop cpuirq sysmonitor cpu_flamegraph $target_list" +fi for i in $target_list;do target_files="$(grep -nrw "target := $i" $(pwd)/source/tools/ | awk -F ":" '{print $1}') $target_files" done -fi if [ $disable_libbpf = "YES" ]; then disable_target=$(grep "bpf\.mk" $(pwd)/source/tools/ -nEr --color | xargs -I {} expr {} : '.*/source/tools/\(.*\)/\(.*\)' | awk -F "/" '{print$2}' | uniq) -- Gitee