aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/perf/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2022-01-08 08:45:29 -0800
committerFlorian Fainelli <f.fainelli@gmail.com>2022-01-27 20:16:57 -0800
commit17135ae0917b54f8ba30a834b2cf8bbcfc0778e6 (patch)
tree1a39d6463f91ee53a5c28a1856460e451c3ffddd /package/devel/perf/Makefile
parent3869ccbcc891a7185550a2a422e2db01fd994b7d (diff)
downloadupstream-17135ae0917b54f8ba30a834b2cf8bbcfc0778e6.tar.gz
upstream-17135ae0917b54f8ba30a834b2cf8bbcfc0778e6.tar.bz2
upstream-17135ae0917b54f8ba30a834b2cf8bbcfc0778e6.zip
perf: Depend on libbfd and libopcodes when enabled
bpftool will enabled libbfd and libopcodes which gets picked up by perf as libraries to link against. Add those missing dependencies when either of these packages are enabled. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'package/devel/perf/Makefile')
-rw-r--r--package/devel/perf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index bbf3aaf9ce..eacdd0e2e5 100644
--- a/package/devel/perf/Makefile
+++ b/package/devel/perf/Makefile
@@ -27,7 +27,8 @@ include $(INCLUDE_DIR)/nls.mk
define Package/perf
SECTION:=devel
CATEGORY:=Development
- DEPENDS:= +libelf +libdw +PACKAGE_libunwind:libunwind +libpthread +librt +objdump @!IN_SDK @!TARGET_arc770 @KERNEL_PERF_EVENTS
+ DEPENDS:= +libelf +libdw +PACKAGE_libunwind:libunwind +libpthread +librt +objdump @!IN_SDK @!TARGET_arc770 @KERNEL_PERF_EVENTS \
+ +PACKAGE_libbfd:libbfd +PACKAGE_libopcodes:libopcodes
TITLE:=Linux performance monitoring tool
VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
URL:=http://www.kernel.org