Makefile (6e2d6b2728fcb408eabd7991804f8cb33ff59f20) | Makefile (5ab1de932e2923f490645ad017a689c5b58dc433) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2ifndef NO_DWARF 3PERF_HAVE_DWARF_REGS := 1 4endif 5PERF_HAVE_JITDUMP := 1 6PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 7 8# 9# Syscall table generation for perf 10# 11 12out := $(OUTPUT)arch/arm64/include/generated/asm 13header := $(out)/syscalls.c | 1# SPDX-License-Identifier: GPL-2.0 2ifndef NO_DWARF 3PERF_HAVE_DWARF_REGS := 1 4endif 5PERF_HAVE_JITDUMP := 1 6PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 7 8# 9# Syscall table generation for perf 10# 11 12out := $(OUTPUT)arch/arm64/include/generated/asm 13header := $(out)/syscalls.c |
14sysdef := $(srctree)/tools/include/uapi/asm-generic/unistd.h | 14incpath := $(srctree)/tools 15sysdef := $(srctree)/tools/arch/arm64/include/uapi/asm/unistd.h |
15sysprf := $(srctree)/tools/perf/arch/arm64/entry/syscalls/ 16systbl := $(sysprf)/mksyscalltbl 17 18# Create output directory if not already present 19_dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)') 20 21$(header): $(sysdef) $(systbl) | 16sysprf := $(srctree)/tools/perf/arch/arm64/entry/syscalls/ 17systbl := $(sysprf)/mksyscalltbl 18 19# Create output directory if not already present 20_dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)') 21 22$(header): $(sysdef) $(systbl) |
22 $(Q)$(SHELL) '$(systbl)' '$(CC)' '$(HOSTCC)' $(sysdef) > $@ | 23 $(Q)$(SHELL) '$(systbl)' '$(CC)' '$(HOSTCC)' $(incpath) $(sysdef) > $@ |
23 24clean:: 25 $(call QUIET_CLEAN, arm64) $(RM) $(header) 26 27archheaders: $(header) | 24 25clean:: 26 $(call QUIET_CLEAN, arm64) $(RM) $(header) 27 28archheaders: $(header) |