[source] perf: prevent build from within the sdk and mark as nonshared
LEDE Commits
lede-commits at lists.infradead.org
Sun Jul 31 03:25:54 PDT 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=5e41c1d447ec4e064b3151d9b88f5a4aaeecbfd2
commit 5e41c1d447ec4e064b3151d9b88f5a4aaeecbfd2
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Jul 31 12:15:07 2016 +0200
perf: prevent build from within the sdk and mark as nonshared
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/devel/perf/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index 0ec2bba..8ff9bfa 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 at 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
More information about the lede-commits
mailing list