From 6028f00df04fdfb8f1070776ef3603d43e50b8a4 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 20 Jun 2019 11:02:20 +0200 Subject: [PATCH] perf: Fix build on aarch64 Somehow perf depended on libunwind, and libunwind also builds on aarch64. Signed-off-by: Hauke Mehrtens --- package/devel/perf/Makefile | 2 +- package/libs/libunwind/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile index 95b368917b..96ad9fd472 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 +(mips||mipsel||powerpc||i386||x86_64||arm):libunwind +libpthread +librt +objdump @!LINUX_3_18 @!IN_SDK + DEPENDS:= +libelf1 +libdw +(mips||mipsel||powerpc||i386||x86_64||arm||aarch64):libunwind +libpthread +librt +objdump @!LINUX_3_18 @!IN_SDK TITLE:=Linux performance monitoring tool VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE) URL:=http://www.kernel.org diff --git a/package/libs/libunwind/Makefile b/package/libs/libunwind/Makefile index c5986979d5..e6d3954774 100644 --- a/package/libs/libunwind/Makefile +++ b/package/libs/libunwind/Makefile @@ -31,7 +31,7 @@ define Package/libunwind CATEGORY:=Libraries TITLE:=The libunwind project URL:=http://www.nongnu.org/libunwind/ - DEPENDS:=@(mips||mipsel||powerpc||i386||x86_64||arm) + DEPENDS:=@(mips||mipsel||powerpc||i386||x86_64||arm||aarch64) endef define Package/libunwind/description