Merge tag 'block-5.9-2020-08-14' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / perf / arch / x86 / Makefile
blob8cc6642fce7a6699e3e3fd816ced37d7ae627f5a
1 # SPDX-License-Identifier: GPL-2.0
2 ifndef NO_DWARF
3 PERF_HAVE_DWARF_REGS := 1
4 endif
5 HAVE_KVM_STAT_SUPPORT := 1
6 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1
7 PERF_HAVE_JITDUMP := 1
9 ###
10 # Syscall table generation
13 out := $(OUTPUT)arch/x86/include/generated/asm
14 header := $(out)/syscalls_64.c
15 sys := $(srctree)/tools/perf/arch/x86/entry/syscalls
16 systbl := $(sys)/syscalltbl.sh
18 # Create output directory if not already present
19 _dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
21 $(header): $(sys)/syscall_64.tbl $(systbl)
22 $(Q)$(SHELL) '$(systbl)' $(sys)/syscall_64.tbl 'x86_64' > $@
24 clean::
25 $(call QUIET_CLEAN, x86) $(RM) $(header)
27 archheaders: $(header)