Commit Graph

14 Commits

Author SHA1 Message Date
Ben Hutchings 4abc99e835 [x86] linux-cpupower: Update CPPFLAGS for change in <asm/msr-index.h> 2019-05-14 17:34:29 +01:00
Ben Hutchings 5b0c3258f6 debian/rules.d: Delete now-unused recursive makefiles
Since commit f5f169ba99 "Split build rules for tools to allow
skipping them." these recursive makefiles are not used.

(debian/rules.d/Makefile can additionally install the top-level Kbuild
and Makefile, but that target hasn't been used since svn rev 18133
(version 3.1-1~experimental.1).)
2019-01-18 23:54:28 +00:00
Ben Hutchings 05c9d96767 debian/rules.d/tools/power/linux-cpupower: Add "+" to recursive make commands
Because these command lines don't start with "$(MAKE)", we should
tell make that we are recursing.  Without this, the child make
can't run more than one job in parallel (and warns about this).
2018-09-11 04:17:44 +01:00
Ben Hutchings f6cb5491d1 cpupower: Fix handling of noopt and nostrip build options
The upstream Makefile uses DEBUG to control both stripping of debug
information *and* disabling optimisations.

We want to disable stripping of debug information so that (normally)
dh_strip can move it into a separate package later.  However we also
want to enable optimisations by default.

Therefore:

- Set the STRIP variable (a command prefix) to "true"
- Set the DEBUG variable (a pseudo-boolean) to "true" if and only if
  the "noopt" build option is used
2018-08-02 23:39:19 +08:00
Ben Hutchings e01624c730 cpupower: Move library to multiarch directory
Upstream moved it from /usr/lib to /usr/lib64 in 4.15, but neither of
these is correct.
2017-12-27 01:38:00 +00:00
Ben Hutchings 58cec05a0e cpupower: Add/update definition of MSRHEADER macro for turbostat and x86_energy_perf_policy 2017-08-13 16:22:35 +01:00
Ben Hutchings 9c3f98c0c4 cpupower: Fix compiler options for turbostat on 4.10 2017-01-30 16:28:55 +00:00
Ben Hutchings 1b1a09ae42 [x86] linux-cpupower: Add turbostat and x86_energy_perf_policy commands
Closes: #778249
2017-01-24 03:55:26 +00:00
Ben Hutchings 0ad327058f Fix build rules for userland tools to support cross-building
Pass $(CROSS_COMPILE) or host GNU type through to upstream build rules.

debian/rules.real: Filter tools packages by host arch, not build arch

debian/rules.d/Makefile: Build the tools needed for headers_install in
a separate subdirectory
2016-06-13 02:06:19 +01:00
Ben Hutchings 1ed7b4bdf1 linux-cpupower: Define PACKAGE_BUGREPORT to refer to reportbug, not upstream 2016-06-13 00:23:09 +01:00
Ben Hutchings 2ed22da0d2 linux-cpupower: Pass variables to cpupower Makefile consistently 2016-06-13 00:22:39 +01:00
Ben Hutchings 59b5fabac6 debian/control,debian/rules,debian/rules.d: Support the 'nodoc' build profile 2016-05-15 03:11:42 +01:00
Ben Hutchings 85aba07cc0 Simplify make rules for cpupower 2016-03-20 20:08:08 +00:00
Ben Hutchings 4fe6a76379 Release linux-tools (4.4.6-1).
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIVAwUAVu737ue/yOyVhhEJAQqyag/+IUmrQLhgB05KxMZ8oRwmEF/PJPF0hKCu
 ZfvPiEO2nS1vQO5ulKp3dkfWWAJbC4BCDO7HAiYjM8J/JUbfb7VrvqgU2LyaEjev
 jpzUhDHD61jO1nTS0s3NKBInOSzn+jCcDSCEFlvzTQzsV5XbLI7cazIW+L29fR+X
 sIJpUzIqMi3UgcbpTx3CfTbodvQ/K7AI9lPN0NIDak7DWtMOUBrUBgTotDY0s+68
 yTD7oiUVdS4nL/BVwKXurSDIPXOnTio5JwmDwqEW1LRXq3Y6IgZKFsGSqmZva19q
 ZZ+T8885/ek116hUhVHF6Cxj24y6LErd+uxJO+J/K52r5Vgw/VwD+pbZBoiSrsmM
 IlqAwDRahNzWO5QU5IWUfPjcsVeye+RKv6EuYoqf43MiltRTdOys154ZesShd95H
 PzjaYQw//DzcnQbxW0wE/GGbTEQKGUgHpw5+2ZRaZ3GE9eExRqKO1ZJhL8Miu8ys
 Y3GJOHBASYq3pXtzpYPlJTAVluKsHScB9VtpXSFcrbwR2Mhqv1k4ZBwFUMh0Dgtb
 BEseEAw/VZQoTsbwR4ZwVwXvw+rFMe21FoVmn0ZM8WsrCqNeN7PQ/QG5CsD+R75N
 tJOMwWfgt5U/JP0ChtOAnywiRKAo52SdBDmyxh4c2qsdFcR6Un2B70Q5A1gY8B2+
 +of7tBDFL8Q=
 =sw9T
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.4.6-1'

Move debian/build/tools/power/cpupower/Makefile to
debian/rules.d/tools/power/cpupower/Makefile where it belongs now.
2016-03-20 20:07:25 +00:00