xref: /linux/tools/perf/arch/x86/Build (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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