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 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 << 6 PERF_HAVE_JITDUMP := 1 << 7 HAVE_KVM_STAT_SUPPORT := 1 << 8 << 9 # << 10 # Syscall table generation for perf << 11 # << 12 << 13 out := $(OUTPUT)arch/loongarch/include/gene << 14 header := $(out)/syscalls.c << 15 incpath := $(srctree)/tools << 16 sysdef := $(srctree)/tools/arch/loongarch/incl << 17 sysprf := $(srctree)/tools/perf/arch/loongarch << 18 systbl := $(sysprf)/mksyscalltbl << 19 << 20 # Create output directory if not already prese << 21 $(shell [ -d '$(out)' ] || mkdir -p '$(out)') << 22 5 23 $(header): $(sysdef) $(systbl) !! 6 PERF_HAVE_JITDUMP := 1 24 $(Q)$(SHELL) '$(systbl)' '$(CC)' '$(HO << 25 << 26 clean:: << 27 $(call QUIET_CLEAN, loongarch) $(RM) $ << 28 << 29 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.