mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Make tests to be two binaries 'tests_static' and 'tests_shared', so the maintenance is easier. Adding tests under libperf build system, so we define all the flags just once. Adding make-tests tule to just compile tests without running them. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Shunsuke Nakamura <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
16 lines
309 B
Python
16 lines
309 B
Python
libperf-y += core.o
|
|
libperf-y += cpumap.o
|
|
libperf-y += threadmap.o
|
|
libperf-y += evsel.o
|
|
libperf-y += evlist.o
|
|
libperf-y += mmap.o
|
|
libperf-y += zalloc.o
|
|
libperf-y += xyarray.o
|
|
libperf-y += lib.o
|
|
|
|
$(OUTPUT)zalloc.o: ../../lib/zalloc.c FORCE
|
|
$(call rule_mkdir)
|
|
$(call if_changed_dep,cc_o_c)
|
|
|
|
tests-y += tests/
|