mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-20 05:43:09 +00:00
perf build: Add perf.o object building
Move the perf object building under build framework to be included in the perf build object. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Tested-by: Will Deacon <will.deacon@arm.com> Cc: Alexis Berlemont <alexis.berlemont@gmail.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-wiiciip2w6ajvj03huqz50xw@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
1571b69505
commit
cb4e67fdee
2 changed files with 8 additions and 11 deletions
|
@ -25,12 +25,15 @@ perf-$(CONFIG_LIBELF) += builtin-probe.o
|
|||
perf-y += bench/
|
||||
perf-y += tests/
|
||||
|
||||
perf-y += perf.o
|
||||
|
||||
paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
|
||||
paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
|
||||
paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
|
||||
|
||||
CFLAGS_builtin-help.o += $(paths)
|
||||
CFLAGS_builtin-timechart.o += $(paths)
|
||||
CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" -include $(OUTPUT)PERF-VERSION-FILE
|
||||
|
||||
libperf-y += util/
|
||||
libperf-y += arch/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue