linux-tools: perf: Add dependencies for binutils and openssl
authorRobert Hancock <hancock@sedsystems.ca>
Mon, 2 Mar 2020 22:49:34 +0000 (16:49 -0600)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 19 Mar 2020 17:28:02 +0000 (18:28 +0100)
commit013cc68bf7cd92fc66dc65f7bb62592dc87123db
treefd2f801bd88079ff1acb2d6b763e764c27bb2ff7
parent359a334e91cd5977d9e28d95983dfbbe4dc50bfe
linux-tools: perf: Add dependencies for binutils and openssl

perf auto-detects and uses the libbfd (from binutils) and openssl
libraries if they are detected and happen to be built before perf is,
but if they're not, or if per-package directories are enabled, it won't
detect these libraries. Explicitly add dependencies on these packages if
they are enabled, and disable the feature if not, so that the behavior
is deterministic.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/linux-tools/linux-tool-perf.mk.in