1 # SPDX-License-Identifier: GPL-2.0 !! 1 # SPDX-License-Identifier: GPL-2.0-only 2 ifndef NO_DWARF 2 ifndef NO_DWARF 3 PERF_HAVE_DWARF_REGS := 1 3 PERF_HAVE_DWARF_REGS := 1 4 endif 4 endif 5 5 6 # Syscall table generation for perf !! 6 PERF_HAVE_JITDUMP := 1 7 out := $(OUTPUT)arch/mips/include/generated << 8 header := $(out)/syscalls_n64.c << 9 sysprf := $(srctree)/tools/perf/arch/mips/entr << 10 sysdef := $(sysprf)/syscall_n64.tbl << 11 systbl := $(sysprf)/mksyscalltbl << 12 << 13 # Create output directory if not already prese << 14 $(shell [ -d '$(out)' ] || mkdir -p '$(out)') << 15 << 16 $(header): $(sysdef) $(systbl) << 17 $(Q)$(SHELL) '$(systbl)' $(sysdef) > $ << 18 << 19 clean:: << 20 $(call QUIET_CLEAN, mips) $(RM) $(head << 21 << 22 archheaders: $(header) <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.