1 # SPDX-License-Identifier: GPL-2.0
3 PERF_HAVE_DWARF_REGS
:= 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
) > $@
26 $(call QUIET_CLEAN
, arm64
) $(RM
) $(header
)
28 archheaders
: $(header
)