Ben Hutchings
5d952f897c
linux-kbuild: Update genksyms makefile to run flex and bison
...
The C code generated by these tools used to be included in the source
tree but has now been removed.
2018-04-20 03:38:54 +01:00
Ben Hutchings
f980187986
debian/rules.d/tools/lib/lockdep/Makefile: Fix repeated 'make install'
...
Currently the 'ln -s' command fails when run a second time. Add the
-f option to fix this.
2018-04-08 10:31:19 +02:00
Ben Hutchings
8ca20af96f
debian/rules.d/tools/kconfig/Makefile: Use bison and flex to build kconfig
2018-03-13 02:06:49 +00:00
Ben Hutchings
4932bdacf1
linux-kbuild: Add objtool
2017-12-27 01:38:04 +00: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
e59d862868
Release linux (4.13.10-1).
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAln3apoACgkQ57/I7JWG
EQllsQ//fyZFkoGOLpHjkS3sNtMxfh1J9+f+JJI33WF9vA/w7SnRfg/Rdbjx+rY8
LRCnviTyh5tuxKSPKHerpUqjNbYi7Hcr0LXxxOPL1Rr+BTFKQuaSDYNzt10bT2mJ
9B0ZYI+Q8n7rAq1/MeSKygV6zh+5MxywN8LZlqg0Au8/7/c7H0nR3MOEFz29imL0
jBMOhy7a+Gby3Qs5ZdKGf0i4RZT9Y/9Ozu9sFpVGqrTyY+FlEd0y1KUvIipbdLTH
S/oRFF1m4IeS7tF6AIprCPMIMPt8tcQrSLvB01REpbvSJvDg+laEgmHnb0PKlOpW
RAeQn2r1NCEjjZcKll8dCMp+sTiLhx+us4L3Jumwb2Yno+219zuScFg2MR0zu5U/
XCB5zG2U5XENH+fRdDnWROkXJ/o1Dtk+Ix1aPySa8I9IdlP45n+Q4LCLw3eg5h3I
CdITwTJxWlnLJVI852wh1qorBuUs5lac9HZ8u0s5MDFXNQkWOVQKRPZN0sA3hwwp
wjudMsGgq6kkoknnEcwTKV4JFWJdfJ0SieaWBv1LSQwAmVy3/QvOTvDBLzRxmtUX
tygPktH53HLp4z6qPOcKD+hGLcdlD5oTWYb2O5MqVlSI8MjONOcjpRGAP2fhIf2t
3INpM9sJPHILXqpEMH6co4VzxnQq1OElMjcA5nqD2A7HLOSDhZg=
=x3uW
-----END PGP SIGNATURE-----
Merge tag 'debian/4.13.10-1'
Release linux (4.13.10-1).
2017-10-30 18:31:31 +00:00
Ben Hutchings
92aff93068
linux-kbuild: Include scripts/ld-version.sh, needed for powerpc 64-bit modules
2017-10-19 23:08:34 +01:00
Ben Hutchings
6bea054037
debian/rules.d/scripts/{genksyms,kconfig}/Makefile: Update for 4.14
...
The keyword tables for genkyms and kconfig are now linear arrays, not
hash tables generated by ghash. The filenames changed accordingly.
2017-10-02 04:45:49 +01:00
Ben Hutchings
60879f2bae
liblockdep: Make missing function declarations fatal errors
...
This should catch use of missing kernel APIs. Which has happened yet
again.
2017-10-01 15:43:34 +01:00
Ben Hutchings
cc91d0cfa2
usbip: Stop building broken libusbip-dev package
...
It has a lintian error (non-empty-dependency_libs-in-la-file) and it
also seems to be missing a header (the newly added
usbip_host_common.h) since Linux 4.7. No-one seems to have noticed,
and it has nothing build-depending on it, so get rid of it.
2017-10-01 01:05:52 +01:00
Ben Hutchings
8c896b2cbc
liblockdep: Re-enable liblockdep packages following upstream fixes
...
This reverts commit 85b468262e
"Remove unused liblockdep packaging"
and 87d08943da
"liblockdep: Stop trying to build packages, as it
failed to build again", but doesn't restore the patches. All our
patches, and further build fixes, were applied upstream as of
v4.13-rc1.
2017-08-13 17:42:32 +01: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
0e64929fc5
scripts/mod: Update modpost wrapper for 4.12
...
Commit cf0c3e68aa81 "kbuild: fix asm-offset generation to work with clang"
changed the macros used by devicetable-offsets.c. Copy the new sed code
from upstream scripts/Makefile.lib.
2017-07-18 04:45:51 +01:00
Ben Hutchings
85b468262e
Remove unused liblockdep packaging
2017-05-03 21:02:49 +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
Uwe Kleine-König
b9aaa1abc5
enable `perf data' support
2016-12-21 09:53:24 +01:00
Ben Hutchings
790f2d1ab5
perf: Disable use of libcrypto ( Closes : #843199 )
2016-11-04 15:41:12 -06:00
Ben Hutchings
87d08943da
liblockdep: Stop trying to build packages, as it failed to build again
2016-09-04 03:46:54 +01:00
Ben Hutchings
7231d9e75a
usbip: Put all autotools-generated files in the build directory
...
Currently the linux-source-<version> package may or may not include
these files, depending on the order things are built in.
As autotools always modifies the source directory, copy (rsync) the
source to the build directory and build in-place there.
2016-08-25 01:29:57 +01:00
Ben Hutchings
2fddcf7c7f
usbip: Use the locally-installed <linux/usbip.h>
...
Some years back I patched the #include of <linux/usbip.h> to include
the current, uninstalled version through a relative path because the
system-installed version will normally be outdated. We're about to
start copying the source to avoid writing autotools crap into the
source directory, which breaks this relative path.
Since we now install the UAPI headers under debian/build at the start
of the tools build, drop the patch and add that directory to the
include path.
2016-08-25 01:28:48 +01:00
Ben Hutchings
7a54b56ad5
Merge branch 'sid'
...
Drop rt patchset updates as they don't apply to 4.7.
Drop various other patches already in 4.7.
Fold the remaining Debian changes in the open changelog entry for 4.6.7-1
into the open changelog entry here.
2016-08-24 20:43:19 +01:00
Ben Hutchings
df9be3c95e
linux-kbuild: Include headers_install.sh and unifdef ( Closes : #832359 )
2016-08-05 19:15:54 +01: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
a7ebaf2684
Add support for the nopython build profile, disabling the linux-perf package
...
Currently we build-depend on the native python (via asciidoc), and on
the host python (via python-dev). As these are not coinstallable it
is impossible to perform a complete cross-build. Until that's resolved,
this will allow cross-building of most of the package with the
combination of the 'cross' and 'nopython' profiles.
(This also sidesteps the issue of perf wanting a multilib compiler.)
2016-06-13 02:04:39 +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
7d8366f375
debian/rules.d/Makefile: Override architecture detection when building userland headers
...
Martin Michlmayr found that userland builds fail if 'uname -m' reports
the native kernel architecture, and that's because we don't explicitly
set ARCH for the headers_install target. That's fine for most cases
of a 32-bit chroot on a 64-bit kernel because a single source
architecture covers both, but arm/arm64 is an exception.
This doesn't make actual cross-builds of userland tools work.
2016-06-12 20:47:56 +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
5f25a78c8e
linux-perf: Move tips.txt to /usr/share/doc/linux-perf-<version> ( Closes : #821741 )
2016-04-28 16:24:30 +02:00
Ben Hutchings
f0398f7ebe
linux-perf: Add build-time check for unversioned files that are likely to result in file conflicts
...
See #813080 , #821741 , etc.
2016-04-28 16:24:29 +02:00
Ben Hutchings
6e18d075e9
linux-kbuild: Add extract-cert and sign-file programs
2016-04-04 10:41:48 +01:00
Ben Hutchings
1138bda5ff
Clean up tools build rules
...
* Rename the make macro from submake to make-tools
* Rename debian/stamps/build to debian/stamps/build-tools
* Build them all under debian/build/build-tools/
2016-03-21 03:14:46 +00:00
Ben Hutchings
8f3922a3c7
Fix architecture filtering to use DEB_HOST_ARCH not DEB_BUILD_ARCH
...
Should make cross-builds work properly.
2016-03-20 22:00:15 +00: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
Ben Hutchings
ad25e86edb
lockdep: Add '+' prefix to make invocation, so it can be parallelised
...
This enables coordination with the top-level job server. Without
this, the child 'make' will be limited to serial operation.
2016-02-23 01:08:14 +00:00
Ben Hutchings
a5f3e6ab8c
Fix setting of installation directory for tools/hv
...
Add installdir variable that defaults to $(prefix)/$(OUTDIR) as used
in scripts/, but can be set directly in tools/hv which doesn't want
to mirror the source hierarchy.
2016-02-23 00:54:38 +00:00
Ben Hutchings
910e14869d
hyperv-daemons: Fix rule redefinition that 'make' warns about
2016-02-22 23:58:52 +00:00
Ben Hutchings
014aa49511
Makefile.inc, rules.real: Fix conflation of $(DESTDIR) and $(prefix)
2016-02-22 23:39:54 +00:00
Ben Hutchings
9d68385e9d
linux-kbuild: Include scripts/gcc-*.sh
...
This makes no functional difference at present but should catch any new
gcc feature test scripts.
2016-02-22 23:31:42 +00:00
Ben Hutchings
0de4f2c89d
linux-kbuild: Include scripts/Makefile.* ( Closes : #815593 )
2016-02-22 23:26:51 +00:00
Ben Hutchings
6ace6a80c1
Makefile.inc: Add support for wildcards in $(SCRIPTS) and $(DATA)
...
This can't be done for $(PROGS) as by definition those don't exist
until we build them.
2016-02-22 23:22:10 +00:00
Ben Hutchings
1add132796
Adjust build fix from unstable
...
The inclusion of Makefile.inc for a !x86 build of tools/hv needed
adjusting to the new makefile hierarchy.
2016-02-22 00:00:49 +00:00
Ben Hutchings
63d0995072
Release linux-tools (4.4-4).
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUAVsnxg+e/yOyVhhEJAQqaEA/+KTrV+PPSOo1XZ7aNCPQitYbpQ5m/v5Yu
dSTTe2Ee5GZqR6TF40CuZNbXV2slgsYSTU0PUMSbx/TT8TwxJyLh+U3gkSO/keeO
L5jFKhybIXUCTYCHzvqBP9VoGZdZzReKRM71VaBCsySqcm88gHgLxDDJjS6uxr/O
ilib1hV3GvAR5ZuqBt8NukiQpZyFr36iNX1MQu58QqnpoJjPSKg+LXShPxZR7tMu
lqMcMz+japhqk6rxifqoY8HxceddWuYR9j5I/9e3OoiGZyuxvkS3oEB/dEAIkp1o
CJ6xKijOQ1mMjvBqShhXnGL7ChJ9UNH7IZE+HOwRQgoOWs91IQo5FJGP5jqTxk9G
gV88BbQTC9vG7d89E55zPADC+UUl38/HLnJY+gHclh2WSncVTmSpY3YauFl62G7l
jLirEp/es25KK3HJLD7JczJ49YF55oiH8U/+OcykmQE/HbzSTWfj6honLfIKOqAx
NQPVAFvupfcQfd7cQFRUcKKAnNVfEcX+h3hD3fz/7uo7rFfWydMjLgxrpbfGqaY+
UprXJuH7oIEMRsMshJsunoeJud2RTeehsXt08LfpvjNNZrIxoltf7TUM8IFhDQzv
zTo6mgFU0ifwCo0EEZuZ21y/vn/LLDXVfLIIMdDhgBuGHF2cOyjprAYDgpM1T55n
XbbHBpLuNbk=
=zbu9
-----END PGP SIGNATURE-----
Merge tag 'debian/4.4-4'
Ignore the patch changes.
2016-02-21 17:41:04 +00:00
Ben Hutchings
7d90293de3
Adjust VPATH to work for check-hyperv (and simplify the modpost wrapper)
2016-02-21 16:43:40 +00:00
Ben Hutchings
eb215f16de
Release linux-tools (4.4-3).
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUAVsnSzee/yOyVhhEJAQp6HQ//YtPneFvZF7XJoJMsl8cqEWM1NKw85YJy
R6zWvohaMRxvKxmessZAgSSXLRfyJB6aob5XafbRwSwGSc99AZYOKqYhf8Qz8nx+
STXGEjGB/mzlJvswz79BGxUN32lVvoV1V3YzHpWRveBClYTiefenj6RmJdVlECnv
cyRRKxhHumkueKtBfTISvsh+jTBu7aZtXh/GV7aLDSlhzzSGCzLZWmtKiKOKH+xX
ta49mLV1kWLJHfBaJg23a5YiIFmKi4+n1EX7T7H9ivgMbIDXKrGPQ7oC1hza1ZrF
xZjS5HHUjlRylwextlzIYKK7kkm3JROWjSWJyxzFGHNH4UC8kKmChovrq93q3Cuu
3rHz5/nuuLsoxjpyk1U97mPGzGpfB+LES45GZq6E8/LejrFVX/HkX9tD92mJB1yt
oBAskRVRKVIHgf9fG3XD8ACBEf8n6Y1gBwJ2DVXY8tacMRTEBe99BN5DCsojjm9X
BZFPlATDhB+ZMFBpmUTYa3pMIs5Pat2to6F6MRTNWNiSn1tbDJj3LrY/yQQJGwUw
I+SYgnQm8vvhjfN64kAu/AgYz5WFv1vk6YvcTKrXuJv2vuMvcV7SqoBSHQgCcHVU
N/H1e5XHBN4KMY9EsSyawLV6Q+Libo5SGDcrzoA80BE5sXwiCbQ5zx2sp17LRJeC
YD67dnle7s0=
=6e+I
-----END PGP SIGNATURE-----
Merge tag 'debian/4.4-3'
Move check-hyperv.c under debian/rules.d.
2016-02-21 16:29:48 +00:00
Ben Hutchings
0033746862
Move makefile hierarchy to debian/rules.d; use debian/build for output only
...
By passing both -C and -f options to make, we can separate makefiles
from the output directory without adding prefixes to all targets.
We can also reduce the 'clean' commands to little more than 'rm -rf'.
2016-02-19 20:24:18 +00:00