1 # SPDX-License-Identifier: GPL-2.0
3 PERF_HAVE_DWARF_REGS
:= 1
6 HAVE_KVM_STAT_SUPPORT
:= 1
7 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
:= 1
11 # Syscall table generation for perf
14 out
:= $(OUTPUT
)arch
/powerpc
/include/generated
/asm
15 header32
:= $(out
)/syscalls_32.c
16 header64
:= $(out
)/syscalls_64.c
17 sysprf
:= $(srctree
)/tools
/perf
/arch
/powerpc
/entry
/syscalls
18 sysdef
:= $(sysprf
)/syscall.tbl
19 systbl
:= $(sysprf
)/mksyscalltbl
21 # Create output directory if not already present
22 _dummy
:= $(shell [ -d
'$(out)' ] || mkdir
-p
'$(out)')
24 $(header64
): $(sysdef
) $(systbl
)
25 $(Q
)$(SHELL
) '$(systbl)' '64' $(sysdef
) > $@
27 $(header32
): $(sysdef
) $(systbl
)
28 $(Q
)$(SHELL
) '$(systbl)' '32' $(sysdef
) > $@
31 $(call QUIET_CLEAN
, powerpc
) $(RM
) $(header32
) $(header64
)
33 archheaders
: $(header32
) $(header64
)