1 # SPDX-License-Identifier: GPL-2.0-only
2 HAVE_KVM_STAT_SUPPORT
:= 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
) > $@
22 $(call QUIET_CLEAN
, s390
) $(RM
) $(header
)
24 archheaders
: $(header
)