]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
UBUNTU: [Packaging] Remove python-dev build dependency
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 8 Jan 2020 13:51:59 +0000 (07:51 -0600)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 8 Jan 2020 14:27:52 +0000 (08:27 -0600)
BugLink: https://bugs.launchpad.net/bugs/1858487
We are not building the python bindings for perf, so this is not
needed. Also remove setting of PYTHON in the perf build
environment.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
debian.master/control.stub.in
debian/rules.d/2-binary-arch.mk

index 2555779662040febe8932ffdc4132af67250e95a..08f2de47ac3bce20823788d73c0abea0d401baaa 100644 (file)
@@ -27,7 +27,6 @@ Build-Depends:
  libssl-dev <!stage1>,
  libaudit-dev <!stage1>,
  bc <!stage1>,
- python-dev <!stage1>,
  gawk <!stage1>,
  libudev-dev <!stage1>,
  autoconf <!stage1>,
index 3bc508717e9da12afc001efb34e15f2b11b69ada..a15d7921a682ccb75b0cd48ca2c6353b155b3aac 100644 (file)
@@ -679,7 +679,7 @@ ifeq ($(do_tools_perf),true)
        cd $(builddirpa) && $(kmake) syncconfig
        cd $(builddirpa) && $(kmake) prepare
        cd $(builddirpa)/tools/perf && \
-               $(kmake) prefix=/usr HAVE_NO_LIBBFD=1 HAVE_CPLUS_DEMANGLE_SUPPORT=1 CROSS_COMPILE=$(CROSS_COMPILE) NO_LIBPYTHON=1 NO_LIBPERL=1 PYTHON=python2.7
+               $(kmake) prefix=/usr HAVE_NO_LIBBFD=1 HAVE_CPLUS_DEMANGLE_SUPPORT=1 CROSS_COMPILE=$(CROSS_COMPILE) NO_LIBPYTHON=1 NO_LIBPERL=1
 endif
 ifeq ($(do_tools_bpftool),true)
        $(kmake) CROSS_COMPILE=$(CROSS_COMPILE) -C $(builddirpa)/tools/bpf/bpftool