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>
(cherry picked from commit 013cc68bf7
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
dacaba8e58
commit
3683e2d189
@ -82,6 +82,18 @@ else
|
||||
PERF_MAKE_FLAGS += NO_LIBELF=1 NO_DWARF=1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BINUTILS),y)
|
||||
PERF_DEPENDENCIES += binutils
|
||||
else
|
||||
PERF_MAKE_FLAGS += NO_DEMANGLE=1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
PERF_DEPENDENCIES += openssl
|
||||
else
|
||||
PERF_MAKE_FLAGS += NO_LIBCRYPTO=1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
PERF_DEPENDENCIES += zlib
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user