2019-05-19 13:07:45 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2019-08-21 16:02:04 +09:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-08-25 22:15:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2011-05-04 13:48:11 -07:00
|
|
|
|
2021-04-20 02:05:05 +09:00
|
|
|
|
2018-04-05 14:22:29 +03:00
|
|
|
|
2015-09-02 12:57:24 +03:00
|
|
|
|
2013-04-12 14:12:50 +02:00
|
|
|
|
2015-09-02 12:57:08 +03:00
|
|
|
|
2013-04-12 14:12:50 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2015-09-02 12:57:08 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-12-06 19:32:57 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-02 12:57:08 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
Redefine GZIP, BZIP2, LZOP variables as KGZIP, KBZIP2, KLZOP resp.
GZIP, BZIP2, LZOP env variables are reserved by the tools. The original
attempt to redefine them internally doesn't work in makefiles/scripts
intercall scenarios, e.g., "make GZIP=gzip bindeb-pkg" and results in
broken builds. There can be other broken build commands because of this,
so the universal solution is to use non-reserved env variables for the
compression tools.
Fixes: 8dfb61dcbace ("kbuild: add variables for compression tools")
Signed-off-by: Denis Efremov <efremov@linux.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-06-08 12:59:44 +03:00
|
|
|
|
2017-11-15 18:17:07 +09:00
|
|
|
|
|
|
|
|
|
2015-09-02 12:57:08 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-03-08 18:39:05 +01:00
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2013-04-13 21:21:15 +02:00
|
|
|
|
2015-09-02 12:57:08 +03:00
|
|
|
|
2017-09-30 10:10:11 +09:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2006-03-08 18:39:05 +01:00
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
2019-02-14 12:05:14 +09:00
|
|
|
|
2013-04-13 21:21:15 +02:00
|
|
|
|
2017-09-30 10:10:09 +09:00
|
|
|
|
2013-05-15 12:06:26 -04:00
|
|
|
|
2017-09-30 10:10:10 +09:00
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
2015-09-02 12:57:24 +03:00
|
|
|
|
2018-04-05 14:22:29 +03:00
|
|
|
|
2015-09-02 12:57:24 +03:00
|
|
|
|
2018-04-05 14:22:29 +03:00
|
|
|
|
|
|
|
|
|
2019-02-05 13:37:52 +01:00
|
|
|
|
2015-09-02 12:57:24 +03:00
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
2018-04-05 14:22:29 +03:00
|
|
|
|
2019-02-05 13:37:52 +01:00
|
|
|
|
2018-04-05 14:22:29 +03:00
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
2018-04-05 14:22:29 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
scripts/package: snap-pkg target
Following in footsteps of other targets like 'deb-pkg, 'rpm-pkg' and 'tar-pkg',
this patch adds a 'snap-pkg' target for the creation of a Linux kernel snap
package using the kbuild infrastructure.
A snap, in its general form, is a self contained, sandboxed, universal package
and it is intended to work across multiple distributions and/or devices. A snap
package is distributed as a single compressed squashfs filesystem.
A kernel snap is a snap package carrying the Linux kernel, kernel modules,
accessory files (DTBs, System.map, etc) and a manifesto file. The purpose of a
kernel snap is to carry the Linux kernel during the creation of a system image,
eg. Ubuntu Core, and its subsequent upgrades.
For more information on snap packages: https://snapcraft.io/docs/
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-11-27 12:07:34 +01:00
|
|
|
|
|
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
scripts/package: snap-pkg target
Following in footsteps of other targets like 'deb-pkg, 'rpm-pkg' and 'tar-pkg',
this patch adds a 'snap-pkg' target for the creation of a Linux kernel snap
package using the kbuild infrastructure.
A snap, in its general form, is a self contained, sandboxed, universal package
and it is intended to work across multiple distributions and/or devices. A snap
package is distributed as a single compressed squashfs filesystem.
A kernel snap is a snap package carrying the Linux kernel, kernel modules,
accessory files (DTBs, System.map, etc) and a manifesto file. The purpose of a
kernel snap is to carry the Linux kernel during the creation of a system image,
eg. Ubuntu Core, and its subsequent upgrades.
For more information on snap packages: https://snapcraft.io/docs/
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-11-27 12:07:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-05-24 11:27:37 +02:00
|
|
|
|
|
|
|
|
|
2021-10-08 13:37:59 +02:00
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
2019-02-14 12:05:14 +09:00
|
|
|
|
2019-05-27 16:54:23 -07:00
|
|
|
|
2005-05-24 11:27:37 +02:00
|
|
|
|
2010-05-31 11:13:21 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-13 16:41:12 -07:00
|
|
|
|
|
|
|
|
|
2015-09-01 17:14:21 +03:00
|
|
|
|
2011-05-13 16:41:12 -07:00
|
|
|
|
2010-05-31 11:13:21 -03:00
|
|
|
|
2011-05-13 16:41:12 -07:00
|
|
|
|
2013-11-06 08:55:35 -07:00
|
|
|
|
2015-09-01 17:14:21 +03:00
|
|
|
|
2013-11-06 08:55:35 -07:00
|
|
|
|
2010-05-31 11:13:21 -03:00
|
|
|
|
|
|
|
|
|
kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
Redefine GZIP, BZIP2, LZOP variables as KGZIP, KBZIP2, KLZOP resp.
GZIP, BZIP2, LZOP env variables are reserved by the tools. The original
attempt to redefine them internally doesn't work in makefiles/scripts
intercall scenarios, e.g., "make GZIP=gzip bindeb-pkg" and results in
broken builds. There can be other broken build commands because of this,
so the universal solution is to use non-reserved env variables for the
compression tools.
Fixes: 8dfb61dcbace ("kbuild: add variables for compression tools")
Signed-off-by: Denis Efremov <efremov@linux.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-06-08 12:59:44 +03:00
|
|
|
|
|
|
|
|
|
kbuild: add variables for compression tools
Allow user to use alternative implementations of compression tools,
such as pigz, pbzip2, pxz. For example, multi-threaded tools to
speed up the build:
$ make GZIP=pigz BZIP2=pbzip2
Variables _GZIP, _BZIP2, _LZOP are used internally because original env
vars are reserved by the tools. The use of GZIP in gzip tool is obsolete
since 2015. However, alternative implementations (e.g., pigz) still rely
on it. BZIP2, BZIP, LZOP vars are not obsolescent.
The credit goes to @grsecurity.
As a sidenote, for multi-threaded lzma, xz compression one can use:
$ export XZ_OPT="--threads=0"
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-06-05 10:39:55 +03:00
|
|
|
|
2021-10-08 13:37:59 +02:00
|
|
|
|
|
|
|
|
|
2010-05-31 11:13:21 -03:00
|
|
|
|
|
|
|
|
|
2021-10-08 13:37:59 +02:00
|
|
|
|
|
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
2010-05-31 11:13:21 -03:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2019-08-21 16:02:03 +09:00
|
|
|
|
|
|
|
|
|
2010-05-31 11:13:21 -03:00
|
|
|
|
2015-09-02 12:57:24 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-10-25 13:52:32 +02:00
|
|
|
|
|
|
|
|
|
2019-11-04 14:11:44 +01:00
|
|
|
|
2010-05-31 11:13:21 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-30 12:18:51 +01:00
|
|
|
|
2021-10-08 13:37:59 +02:00
|
|
|
|
2010-05-31 11:13:21 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-30 12:18:51 +01:00
|
|
|
|
2021-10-08 13:37:59 +02:00
|
|
|
|
2019-08-21 16:02:04 +09:00
|
|
|
|
|
|
|
|
|