Linux 4.19.133
[linux/fpc-iii.git] / tools / perf / arch / arm64 / Makefile
blobdbef716a19135fffaf2afb1adedc418a3effd420
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
9 # Syscall table generation for perf
12 out := $(OUTPUT)arch/arm64/include/generated/asm
13 header := $(out)/syscalls.c
14 incpath := $(srctree)/tools
15 sysdef := $(srctree)/tools/arch/arm64/include/uapi/asm/unistd.h
16 sysprf := $(srctree)/tools/perf/arch/arm64/entry/syscalls/
17 systbl := $(sysprf)/mksyscalltbl
19 # Create output directory if not already present
20 _dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
22 $(header): $(sysdef) $(systbl)
23 $(Q)$(SHELL) '$(systbl)' '$(CC)' '$(HOSTCC)' $(incpath) $(sysdef) > $@
25 clean::
26 $(call QUIET_CLEAN, arm64) $(RM) $(header)
28 archheaders: $(header)