aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/perf/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-31 12:15:07 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-31 12:25:25 +0200
commit5e41c1d447ec4e064b3151d9b88f5a4aaeecbfd2 (patch)
tree13c0eb16f244efdb893478c9cf820a81244b6c2a /package/devel/perf/Makefile
parent12703d5b294a00fd6a443dae82a0d05f7954b320 (diff)
downloadupstream-5e41c1d447ec4e064b3151d9b88f5a4aaeecbfd2.tar.gz
upstream-5e41c1d447ec4e064b3151d9b88f5a4aaeecbfd2.tar.bz2
upstream-5e41c1d447ec4e064b3151d9b88f5a4aaeecbfd2.zip
perf: prevent build from within the sdk and mark as nonshared
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/devel/perf/Makefile')
-rw-r--r--package/devel/perf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index 0ec2bba3e2..8ff9bfa5e2 100644
--- a/package/devel/perf/Makefile
+++ b/package/devel/perf/Makefile
@@ -15,6 +15,7 @@ PKG_RELEASE:=2
PKG_USE_MIPS16:=0
PKG_BUILD_PARALLEL:=1
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
+PKG_FLAGS:=nonshared
# Perf's makefile and headers are not relocatable and must be built from the
# Linux sources directory
@@ -25,7 +26,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/perf
SECTION:=devel
CATEGORY:=Development
- DEPENDS:= +libelf1 +libdw +libpthread +librt +objdump @!LINUX_3_18
+ DEPENDS:= +libelf1 +libdw +libpthread +librt +objdump @!LINUX_3_18 @!IN_SDK
TITLE:=Linux performance monitoring tool
VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
URL:=http://www.kernel.org