Skip to content

Commit cfc4033

Browse files
committed
perf bpf: Fixup include and examples install messages
Before: INSTALL lib install include/bpf/*.h '/home/acme/lib/include/perf/bpf' INSTALL lib install examples/bpf/*.c '/home/acme/lib/examples/perf/bpf' After: INSTALL lib INSTALL include/bpf INSTALL lib INSTALL examples/bpf Reported-by: Ingo Molnar <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Fixes: dd8e4ea ("perf bpf: Add bpf.h to be used in eBPF proggies") Fixes: 8f12a2f ("perf bpf: Add 'examples' directories") Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 3e71fc0 commit cfc4033

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/perf/Makefile.perf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,9 +770,11 @@ endif
770770
ifndef NO_LIBBPF
771771
$(call QUIET_INSTALL, lib) \
772772
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perf_include_instdir_SQ)/bpf'
773+
$(call QUIET_INSTALL, include/bpf) \
773774
$(INSTALL) include/bpf/*.h '$(DESTDIR_SQ)$(perf_include_instdir_SQ)/bpf'
774775
$(call QUIET_INSTALL, lib) \
775776
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perf_examples_instdir_SQ)/bpf'
777+
$(call QUIET_INSTALL, examples/bpf) \
776778
$(INSTALL) examples/bpf/*.c '$(DESTDIR_SQ)$(perf_examples_instdir_SQ)/bpf'
777779
endif
778780
$(call QUIET_INSTALL, perf-archive) \

0 commit comments

Comments
 (0)