perf: Depend on libbfd and libopcodes when enabled
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 8 Jan 2022 16:45:29 +0000 (08:45 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 28 Jan 2022 04:16:57 +0000 (20:16 -0800)
commit17135ae0917b54f8ba30a834b2cf8bbcfc0778e6
tree1a39d6463f91ee53a5c28a1856460e451c3ffddd
parent3869ccbcc891a7185550a2a422e2db01fd994b7d
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>
package/devel/perf/Makefile