aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-02-23 16:17:57 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-02-25 17:07:32 +0100
commit01d7a5d7dee247c40a7ecfbd7ba221640752e76f (patch)
treebc6803d32333f27e208a8c88933f9d5f8cff149a /package/devel
parentb345cc24892d375746bc63fad73226d1e7844ea1 (diff)
downloadupstream-01d7a5d7dee247c40a7ecfbd7ba221640752e76f.tar.gz
upstream-01d7a5d7dee247c40a7ecfbd7ba221640752e76f.tar.bz2
upstream-01d7a5d7dee247c40a7ecfbd7ba221640752e76f.zip
perf: restrict libunwind dependency to archs that actually support libunwind
Allow building perf on uncommon targets again. Depending on the kernel version, not all of these archs will actually use libunwind in perf. Still, it seems simpler and less error-prone to use the same list that is defined in the libunwind package. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'package/devel')
-rw-r--r--package/devel/perf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index 9cfa17f5bf..95b368917b 100644
--- a/package/devel/perf/Makefile
+++ b/package/devel/perf/Makefile
@@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/perf
SECTION:=devel
CATEGORY:=Development
- DEPENDS:= +libelf1 +libdw +libunwind +libpthread +librt +objdump @!LINUX_3_18 @!IN_SDK
+ DEPENDS:= +libelf1 +libdw +(mips||mipsel||powerpc||i386||x86_64||arm):libunwind +libpthread +librt +objdump @!LINUX_3_18 @!IN_SDK
TITLE:=Linux performance monitoring tool
VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
URL:=http://www.kernel.org