linux-perf: Fix installation directories for BPF headers and examples

Closes: #916774
This commit is contained in:
Ben Hutchings 2018-12-18 17:18:46 +00:00
parent aaa2152dc5
commit d19f7ed1a4
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -5,6 +5,8 @@ linux (4.19.9-2) UNRELEASED; urgency=medium
[ Ben Hutchings ]
* linux-perf: Fix build-time check for unversioned files
* linux-perf: Fix installation directories for BPF headers and examples
(Closes: #916774)
-- Uwe Kleine-König <ukleinek@debian.org> Mon, 17 Dec 2018 11:27:32 +0100

View File

@ -22,7 +22,7 @@ MAKE_PERF := $(MAKE) O=$(CURDIR) prefix=/usr V=1 VF=1 ARCH=$(KERNEL_ARCH) WERROR
MAKE_PERF += NO_GTK2=1
# Include version in all directory names
MAKE_PERF += perfexecdir=lib/perf_$(VERSION)-core plugindir=/usr/lib/traceevent_$(VERSION)/plugins STRACE_GROUPS_DIR=share/perf_$(VERSION)-core/strace/groups tipdir=share/doc/linux-perf-$(VERSION)
MAKE_PERF += perfexecdir=lib/perf_$(VERSION)-core plugindir=/usr/lib/traceevent_$(VERSION)/plugins STRACE_GROUPS_DIR=share/perf_$(VERSION)-core/strace/groups tipdir=share/doc/linux-perf-$(VERSION) perf_include_dir=include/perf_$(VERSION) perf_examples_dir=share/doc/linux-perf-$(VERSION)/examples
# perf can link against libbfd if available, but the result is
# undistributable as they are licenced under GPL v2 and v3+