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