← Back to team overview

kernel-packages team mailing list archive

[Bug 1564206] Re: fix for do_tools_cpupower when cross-compiling

 

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: Incomplete

** Changed in: linux (Ubuntu Xenial)
       Status: Incomplete => Fix Committed

** Changed in: linux (Ubuntu Xenial)
     Assignee: (unassigned) => Tim Gardner (timg-tpi)

** Patch added: "0001-UBUNTU-Debian-cpupower-uses-non-standard-CROSS.patch"
   https://bugs.launchpad.net/ubuntu/xenial/+source/linux/+bug/1564206/+attachment/4618190/+files/0001-UBUNTU-Debian-cpupower-uses-non-standard-CROSS.patch

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1564206

Title:
  fix for do_tools_cpupower when cross-compiling

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  cpupower's Makefile uses ${CROSS} instead of ${CROSS_COMPILE}
  The problem is that debian/rules.d/2-binary-arch.mk needs to set CROSS instead of CROSS_COMPILE, like so:

          make -C $(builddirpa)/tools/power/cpupower \
                  CROSS=$(CROSS_COMPILE) \
                  LIB_MIN=$(abi_release) CPUFREQ_BENCH=false

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564206/+subscriptions


References