1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # SPDX-License-Identifier: GPL-2.0 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 >> 6 # Syscall table generation for perf >> 7 out := $(OUTPUT)arch/mips/include/generated/asm >> 8 header := $(out)/syscalls_n64.c >> 9 sysprf := $(srctree)/tools/perf/arch/mips/entry/syscalls >> 10 sysdef := $(sysprf)/syscall_n64.tbl >> 11 systbl := $(sysprf)/mksyscalltbl >> 12 >> 13 # Create output directory if not already present >> 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) $(header) >> 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.