1 # SPDX-License-Identifier: GPL-2.0 2 ifndef NO_DWARF 3 PERF_HAVE_DWARF_REGS := 1 4 endif 5 6 HAVE_KVM_STAT_SUPPORT := 1 7 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 8 PERF_HAVE_JITDUMP := 1 9 10 # 11 # Syscall table generation for perf 12 # 13 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 20 21 # Create output directory if not already present 22 $(shell [ -d '$(out)' ] || mkdir -p '$(out)') 23 24 $(header64): $(sysdef) $(systbl) 25 $(Q)$(SHELL) '$(systbl)' '64' $(sysdef) > $@ 26 27 $(header32): $(sysdef) $(systbl) 28 $(Q)$(SHELL) '$(systbl)' '32' $(sysdef) > $@ 29 30 clean:: 31 $(call QUIET_CLEAN, powerpc) $(RM) $(header32) $(header64) 32 33 archheaders: $(header32) $(header64)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.