xref: /linux/tools/perf/arch/x86/Build (revision 66e72a01b60ae6950ddbb3585fdc1424d303e14b)
1perf-util-y += util/
2perf-test-y += tests/
3
4ifdef SHELLCHECK
5  SHELL_TESTS := entry/syscalls/syscalltbl.sh
6  TEST_LOGS := $(SHELL_TESTS:%=%.shellcheck_log)
7else
8  SHELL_TESTS :=
9  TEST_LOGS :=
10endif
11
12$(OUTPUT)%.shellcheck_log: %
13	$(call rule_mkdir)
14	$(Q)$(call echo-cmd,test)shellcheck -a -S warning "$<" > $@ || (cat $@ && rm $@ && false)
15
16perf-test-y += $(TEST_LOGS)
17