mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
6404436a63
Turn current clean output: $ make clean rm -f arch/x86/include/generated/asm/syscalls_64.c CLEAN libbpf CLEAN libapi into: $ make clean CLEAN x86 CLEAN libapi CLEAN libbpf Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: TJ <linux@iam.tj> Link: http://lkml.kernel.org/r/1461615438-27894-1-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
30 lines
899 B
Makefile
30 lines
899 B
Makefile
ifndef NO_DWARF
|
|
PERF_HAVE_DWARF_REGS := 1
|
|
endif
|
|
HAVE_KVM_STAT_SUPPORT := 1
|
|
PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1
|
|
PERF_HAVE_JITDUMP := 1
|
|
|
|
###
|
|
# Syscall table generation
|
|
#
|
|
|
|
out := $(OUTPUT)arch/x86/include/generated/asm
|
|
header := $(out)/syscalls_64.c
|
|
sys := $(srctree)/tools/perf/arch/x86/entry/syscalls
|
|
systbl := $(sys)/syscalltbl.sh
|
|
|
|
# Create output directory if not already present
|
|
_dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
|
|
|
|
$(header): $(sys)/syscall_64.tbl $(systbl)
|
|
@(test -d ../../kernel -a -d ../../tools -a -d ../perf && ( \
|
|
(diff -B arch/x86/entry/syscalls/syscall_64.tbl ../../arch/x86/entry/syscalls/syscall_64.tbl >/dev/null) \
|
|
|| echo "Warning: x86_64's syscall_64.tbl differs from kernel" >&2 )) || true
|
|
$(Q)$(SHELL) '$(systbl)' $(sys)/syscall_64.tbl 'x86_64' > $@
|
|
|
|
clean::
|
|
$(call QUIET_CLEAN, x86) $(RM) $(header)
|
|
|
|
archheaders: $(header)
|