Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / perf / arch / s390 / Makefile
blobc431c21b11ef824535c1b9fb6ca4246d666fc97b
1 # SPDX-License-Identifier: GPL-2.0-only
2 HAVE_KVM_STAT_SUPPORT := 1
3 PERF_HAVE_JITDUMP := 1
6 # Syscall table generation for perf
9 out := $(OUTPUT)arch/s390/include/generated/asm
10 header := $(out)/syscalls_64.c
11 sysprf := $(srctree)/tools/perf/arch/s390/entry/syscalls
12 sysdef := $(sysprf)/syscall.tbl
13 systbl := $(sysprf)/mksyscalltbl
15 # Create output directory if not already present
16 $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
18 $(header): $(sysdef) $(systbl)
19 $(Q)$(SHELL) '$(systbl)' $(sysdef) > $@
21 clean::
22 $(call QUIET_CLEAN, s390) $(RM) $(header)
24 archheaders: $(header)