← Back to team overview

kernel-packages team mailing list archive

[Bug 1564206] [NEW] fix for do_tools_cpupower when cross-compiling

 

Public bug reported:

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups