PKG_USE_MIPS16:=0
PKG_BUILD_PARALLEL:=1
+PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
# Perf's makefile and headers are not relocatable and must be built from the
# Linux sources directory
define Package/perf
SECTION:=devel
CATEGORY:=Development
- DEPENDS:= @USE_GLIBC +libelf1 +libdw +libpthread +librt +binutils
+ DEPENDS:= +libelf1 +libdw +libpthread +librt +objdump @!LINUX_3_18
TITLE:=Linux performance monitoring tool
VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
URL:=http://www.kernel.org
NO_LIBNUMA=1 \
NO_GTK2=1 \
NO_LIBAUDIT=1 \
+ NO_LIBCRYPTO=1 \
CROSS_COMPILE="$(TARGET_CROSS)" \
CC="$(TARGET_CC)" \
LD="$(TARGET_CROSS)ld" \
WERROR=0 \
prefix=/usr
+ifdef CONFIG_USE_MUSL
+ MAKE_FLAGS += EXTRA_CFLAGS="-I$(CURDIR)/musl-include -include $(CURDIR)/musl-compat.h -D__UCLIBC__"
+endif
+
define Build/Compile
+$(MAKE_FLAGS) $(MAKE) $(PKG_JOBS) \
-C $(PKG_BUILD_DIR) \