OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 24... | Line 24... | |||
24 | include $(INCLUDE_DIR)/package.mk |
24 | include $(INCLUDE_DIR)/package.mk |
|
Line 25... | Line 25... | |||
25 | |
25 | |
|
26 | define Package/perf |
26 | define Package/perf |
|
27 | SECTION:=devel |
27 | SECTION:=devel |
|
28 | CATEGORY:=Development |
28 | CATEGORY:=Development |
|
29 | DEPENDS:= +libelf +libdw +(mips||mipsel||powerpc||i386||x86_64||arm||aarch64):libunwind +libpthread +librt +objdump @!LINUX_3_18 @!IN_SDK @!TARGET_arc770 @KERNEL_PERF_EVENTS |
29 | DEPENDS:= +libelf1 +libdw +(mips||mipsel||powerpc||i386||x86_64||arm||aarch64):libunwind +libpthread +librt +objdump @!LINUX_3_18 @!IN_SDK @!TARGET_arc770 @KERNEL_PERF_EVENTS |
|
30 | TITLE:=Linux performance monitoring tool |
30 | TITLE:=Linux performance monitoring tool |
|
31 | VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE) |
31 | VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE) |
|
32 | URL:=http://www.kernel.org |
32 | URL:=http://www.kernel.org |
|
Line 59... | Line 59... | |||
59 | LDFLAGS="$(TARGET_LDFLAGS)" \ |
59 | LDFLAGS="$(TARGET_LDFLAGS)" \ |
|
60 | $(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \ |
60 | $(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \ |
|
61 | WERROR=0 \ |
61 | WERROR=0 \ |
|
62 | prefix=/usr |
62 | prefix=/usr |
|
Line -... | Line 63... | |||
- | 63 | |
||
- | 64 | ifdef CONFIG_LINUX_4_4 |
||
- | 65 | ifdef CONFIG_USE_MUSL |
||
- | 66 | MAKE_FLAGS += EXTRA_CFLAGS="-I$(CURDIR)/musl-include -include $(CURDIR)/musl-compat.h -D__UCLIBC__" |
||
- | 67 | endif |
||
- | 68 | endif |
||
63 | |
69 | |
|
64 | define Build/Compile |
70 | define Build/Compile |
|
65 | +$(MAKE_FLAGS) $(MAKE) $(PKG_JOBS) \ |
71 | +$(MAKE_FLAGS) $(MAKE) $(PKG_JOBS) \ |
|
66 | -C $(PKG_BUILD_DIR) \ |
72 | -C $(PKG_BUILD_DIR) \ |
|
67 | -f Makefile.perf \ |
73 | -f Makefile.perf \ |