xref: /linux/tools/perf/trace/beauty/Build (revision afeea2758b4f1210361ce2a91d8fa3e7df606ad2)
1perf-y += clone.o
2perf-y += fcntl.o
3perf-y += flock.o
4perf-y += fs_at_flags.o
5perf-y += fsmount.o
6perf-y += fspick.o
7ifeq ($(SRCARCH),$(filter $(SRCARCH),x86))
8perf-y += ioctl.o
9endif
10perf-y += kcmp.o
11perf-y += mount_flags.o
12perf-y += move_mount.o
13perf-y += pkey_alloc.o
14perf-y += arch_prctl.o
15perf-y += prctl.o
16perf-y += renameat.o
17perf-y += sockaddr.o
18perf-y += socket.o
19perf-y += statx.o
20perf-y += sync_file_range.o
21perf-y += timespec.o
22perf-y += tracepoints/
23
24ifdef SHELLCHECK
25  SHELL_TESTS := $(wildcard trace/beauty/*.sh)
26  TEST_LOGS := $(SHELL_TESTS:trace/beauty/%=%.shellcheck_log)
27else
28  SHELL_TESTS :=
29  TEST_LOGS :=
30endif
31
32$(OUTPUT)%.shellcheck_log: %
33	$(call rule_mkdir)
34	$(Q)$(call echo-cmd,test)shellcheck -s bash -a -S warning "$<" > $@ || (cat $@ && rm $@ && false)
35
36perf-y += $(TEST_LOGS)
37