]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - tools/perf/Makefile
perf probe: Add probe-finder.h without libdwarf
[mirror_ubuntu-eoan-kernel.git] / tools / perf / Makefile
index f1537a94a05f6e04f5945aeb91786a0a46e2702b..76e4b04d40809f5f2104c308b6f11b133c20fa6a 100644 (file)
@@ -369,6 +369,7 @@ LIB_H += util/sort.h
 LIB_H += util/hist.h
 LIB_H += util/thread.h
 LIB_H += util/data_map.h
+LIB_H += util/probe-finder.h
 
 LIB_OBJS += util/abspath.o
 LIB_OBJS += util/alias.o
@@ -485,7 +486,6 @@ ifneq ($(shell sh -c "(echo '\#include <libdwarf/dwarf.h>'; echo '\#include <lib
        BASIC_CFLAGS += -DNO_LIBDWARF
 else
        EXTLIBS += -lelf -ldwarf
-       LIB_H += util/probe-finder.h
        LIB_OBJS += util/probe-finder.o
 endif