1 # SPDX-License-Identifier: GPL-2.0-only
3 PERF_HAVE_DWARF_REGS
:= 1
5 HAVE_KVM_STAT_SUPPORT
:= 1
6 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
:= 1
10 # Syscall table generation for perf
13 out
:= $(OUTPUT
)arch
/s390
/include/generated
/asm
14 header
:= $(out
)/syscalls_64.c
15 sysprf
:= $(srctree
)/tools
/perf
/arch
/s390
/entry
/syscalls
16 sysdef
:= $(sysprf
)/syscall.tbl
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)' $(sysdef
) > $@
26 $(call QUIET_CLEAN
, s390
) $(RM
) $(header
)
28 archheaders
: $(header
)