WIP FPC-III support
[linux/fpc-iii.git] / tools / perf / arch / arm64 / Makefile
blobfab3095fb5d08215b7ba5f5f42e262fa9e3a9610
1 # SPDX-License-Identifier: GPL-2.0
2 ifndef NO_DWARF
3 PERF_HAVE_DWARF_REGS := 1
4 endif
5 PERF_HAVE_JITDUMP := 1
6 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1
7 HAVE_KVM_STAT_SUPPORT := 1
10 # Syscall table generation for perf
13 out := $(OUTPUT)arch/arm64/include/generated/asm
14 header := $(out)/syscalls.c
15 incpath := $(srctree)/tools
16 sysdef := $(srctree)/tools/arch/arm64/include/uapi/asm/unistd.h
17 sysprf := $(srctree)/tools/perf/arch/arm64/entry/syscalls/
18 systbl := $(sysprf)/mksyscalltbl
20 # Create output directory if not already present
21 _dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
23 $(header): $(sysdef) $(systbl)
24 $(Q)$(SHELL) '$(systbl)' '$(CC)' '$(HOSTCC)' $(incpath) $(sysdef) > $@
26 clean::
27 $(call QUIET_CLEAN, arm64) $(RM) $(header)
29 archheaders: $(header)