define Package/perf
SECTION:=devel
CATEGORY:=Development
- DEPENDS:= @USE_EGLIBC +libelf1 +libdw +libpthread +librt +binutils
+ DEPENDS:= @USE_GLIBC +libelf1 +libdw +libpthread +librt +binutils
TITLE:=Linux performance monitoring tool
VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
URL:=http://www.kernel.org
# Linux sources directory
define Build/Prepare
$(RM) -r $(PKG_BUILD_DIR)
- ln -s $(LINUX_DIR)/tools/perf $(PKG_BUILD_DIR)
+ $(LN) $(LINUX_DIR)/tools/perf $(PKG_BUILD_DIR)
endef
# MAKE_FLAGS should be passed again upon cleaning because Perf's makefile
LD="$(TARGET_CROSS)ld" \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
+ WERROR=0 \
V=1 \
prefix=/usr