ec8f24b7faaf3 scripts/package/Makefile (Thomas Gleixner 2019-05-19 13:07:45 +0100 1) # SPDX-License-Identifier: GPL-2.0-only
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 2) # Makefile for the different targets used to generate full packages of a kernel
000ec95fbe757 scripts/Makefile.package (Masahiro Yamada 2019-08-21 16:02:04 +0900 3)
000ec95fbe757 scripts/Makefile.package (Masahiro Yamada 2019-08-21 16:02:04 +0900 4) include $(srctree)/scripts/Kbuild.include
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 5)
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 6) # RPM target
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 7) # ---------------------------------------------------------------------------
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 8) # The rpm target generates two rpm files:
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 9) # /usr/src/packages/SRPMS/kernel-2.6.7rc2-1.src.rpm
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 10) # /usr/src/packages/RPMS/i386/kernel-2.6.7rc2-1.<arch>.rpm
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 11) # The src.rpm files includes all source for the kernel being built
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 12) # The <arch>.rpm includes kernel configuration, modules etc.
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 13) #
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 14) # Process to create the rpm files
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 15) # a) clean the kernel
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 16) # b) Generate .spec file
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 17) # c) Build a tar ball, using symlink to make kernel version
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 18) # first entry in the path
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 19) # d) and pack the result to a tar.gz file
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 20) # e) generate the rpm files, based on kernel.spec
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 21) # - Use /. to avoid tar packing just the symlink
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 22)
db9038c89d129 scripts/package/Makefile (Frans Pop 2009-08-25 22:15:39 +0200 23) # Note that the rpm-pkg target cannot be used with KBUILD_OUTPUT,
db9038c89d129 scripts/package/Makefile (Frans Pop 2009-08-25 22:15:39 +0200 24) # but the binrpm-pkg target can; for some reason O= gets ignored.
db9038c89d129 scripts/package/Makefile (Frans Pop 2009-08-25 22:15:39 +0200 25)
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 26) # Remove hyphens since they have special meaning in RPM filenames
e1287eb891e32 scripts/package/Makefile (Arun Sharma 2011-05-04 13:48:11 -0700 27) KERNELPATH := kernel-$(subst -,_,$(KERNELRELEASE))
82526ef43399a scripts/Makefile.package (Masahiro Yamada 2021-04-20 02:05:05 +0900 28) KDEB_SOURCENAME ?= linux-upstream
b41d920acff83 scripts/package/Makefile (Riku Voipio 2018-04-05 14:22:29 +0300 29) KBUILD_PKG_ROOTCMD ?="fakeroot -u"
3716001bcb7f5 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:24 +0300 30) export KDEB_SOURCENAME
6615d6c322a36 scripts/package/Makefile (Michal Marek 2013-04-12 14:12:50 +0200 31) # Include only those top-level files that are needed by make, plus the GPL copy
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 32) TAR_CONTENT := $(KBUILD_ALLDIRS) .config .scmversion Makefile \
6615d6c322a36 scripts/package/Makefile (Michal Marek 2013-04-12 14:12:50 +0200 33) Kbuild Kconfig COPYING $(wildcard localversion*)
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 34) MKSPEC := $(srctree)/scripts/package/mkspec
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 35)
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 36) quiet_cmd_src_tar = TAR $(2).tar.gz
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 37) cmd_src_tar = \
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 38) if test "$(objtree)" != "$(srctree)"; then \
262dad68e152f scripts/package/Makefile (Masahiro Yamada 2017-12-06 19:32:57 +0900 39) echo >&2; \
262dad68e152f scripts/package/Makefile (Masahiro Yamada 2017-12-06 19:32:57 +0900 40) echo >&2 " ERROR:"; \
262dad68e152f scripts/package/Makefile (Masahiro Yamada 2017-12-06 19:32:57 +0900 41) echo >&2 " Building source tarball is not possible outside the"; \
262dad68e152f scripts/package/Makefile (Masahiro Yamada 2017-12-06 19:32:57 +0900 42) echo >&2 " kernel source tree. Don't set KBUILD_OUTPUT, or use the"; \
262dad68e152f scripts/package/Makefile (Masahiro Yamada 2017-12-06 19:32:57 +0900 43) echo >&2 " binrpm-pkg or bindeb-pkg target instead."; \
262dad68e152f scripts/package/Makefile (Masahiro Yamada 2017-12-06 19:32:57 +0900 44) echo >&2; \
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 45) false; \
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 46) fi ; \
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 47) $(srctree)/scripts/setlocalversion --save-scmversion; \
e4a42c82e943b scripts/Makefile.package (Denis Efremov 2020-06-08 12:59:44 +0300 48) tar -I $(KGZIP) -c $(RCS_TAR_IGNORE) -f $(2).tar.gz \
2dbc644ac62bb scripts/package/Makefile (Masahiro Yamada 2017-11-15 18:17:07 +0900 49) --transform 's:^:$(2)/:S' $(TAR_CONTENT) $(3); \
2dbc644ac62bb scripts/package/Makefile (Masahiro Yamada 2017-11-15 18:17:07 +0900 50) rm -f $(objtree)/.scmversion
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 51)
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 52) # rpm-pkg
0131705d589e2 scripts/package/Makefile (Sam Ravnborg 2006-03-08 18:39:05 +0100 53) # ---------------------------------------------------------------------------
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 54) PHONY += rpm-pkg
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 55) rpm-pkg:
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 56) $(MAKE) clean
6501320311664 scripts/package/Makefile (Michal Marek 2013-04-13 21:21:15 +0200 57) $(CONFIG_SHELL) $(MKSPEC) >$(objtree)/kernel.spec
26803821463c4 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:08 +0300 58) $(call cmd,src_tar,$(KERNELPATH),kernel.spec)
8a16a070abaa6 scripts/package/Makefile (Masahiro Yamada 2017-09-30 10:10:11 +0900 59) +rpmbuild $(RPMOPTS) --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz \
8a16a070abaa6 scripts/package/Makefile (Masahiro Yamada 2017-09-30 10:10:11 +0900 60) --define='_smp_mflags %{nil}'
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 61)
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 62) # binrpm-pkg
0131705d589e2 scripts/package/Makefile (Sam Ravnborg 2006-03-08 18:39:05 +0100 63) # ---------------------------------------------------------------------------
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 64) PHONY += binrpm-pkg
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 65) binrpm-pkg:
175209cce23d6 scripts/package/Makefile (Masahiro Yamada 2019-02-14 12:05:14 +0900 66) $(MAKE) -f $(srctree)/Makefile
6501320311664 scripts/package/Makefile (Michal Marek 2013-04-13 21:21:15 +0200 67) $(CONFIG_SHELL) $(MKSPEC) prebuilt > $(objtree)/binkernel.spec
606625be47bc8 scripts/package/Makefile (Masahiro Yamada 2017-09-30 10:10:09 +0900 68) +rpmbuild $(RPMOPTS) --define "_builddir $(objtree)" --target \
f66ba560943ae scripts/package/Makefile (Luiz Capitulino 2013-05-15 12:06:26 -0400 69) $(UTS_MACHINE) -bb $(objtree)/binkernel.spec
af60e20708797 scripts/package/Makefile (Masahiro Yamada 2017-09-30 10:10:10 +0900 70)
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 71) PHONY += deb-pkg
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 72) deb-pkg:
3716001bcb7f5 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:24 +0300 73) $(MAKE) clean
b41d920acff83 scripts/package/Makefile (Riku Voipio 2018-04-05 14:22:29 +0300 74) $(CONFIG_SHELL) $(srctree)/scripts/package/mkdebian
3716001bcb7f5 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:24 +0300 75) $(call cmd,src_tar,$(KDEB_SOURCENAME))
b41d920acff83 scripts/package/Makefile (Riku Voipio 2018-04-05 14:22:29 +0300 76) origversion=$$(dpkg-parsechangelog -SVersion |sed 's/-[^-]*$$//');\
b41d920acff83 scripts/package/Makefile (Riku Voipio 2018-04-05 14:22:29 +0300 77) mv $(KDEB_SOURCENAME).tar.gz ../$(KDEB_SOURCENAME)_$${origversion}.orig.tar.gz
117948ac744b2 scripts/package/Makefile (Kacper Kołodziej 2019-02-05 13:37:52 +0100 78) +dpkg-buildpackage -r$(KBUILD_PKG_ROOTCMD) -a$$(cat debian/arch) $(DPKG_FLAGS) -i.git -us -uc
3716001bcb7f5 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:24 +0300 79)
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 80) PHONY += bindeb-pkg
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 81) bindeb-pkg:
b41d920acff83 scripts/package/Makefile (Riku Voipio 2018-04-05 14:22:29 +0300 82) $(CONFIG_SHELL) $(srctree)/scripts/package/mkdebian
117948ac744b2 scripts/package/Makefile (Kacper Kołodziej 2019-02-05 13:37:52 +0100 83) +dpkg-buildpackage -r$(KBUILD_PKG_ROOTCMD) -a$$(cat debian/arch) $(DPKG_FLAGS) -b -nc -uc
b41d920acff83 scripts/package/Makefile (Riku Voipio 2018-04-05 14:22:29 +0300 84)
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 85) PHONY += intdeb-pkg
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 86) intdeb-pkg:
b41d920acff83 scripts/package/Makefile (Riku Voipio 2018-04-05 14:22:29 +0300 87) +$(CONFIG_SHELL) $(srctree)/scripts/package/builddeb
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 88)
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 89) # snap-pkg
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 90) # ---------------------------------------------------------------------------
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 91) PHONY += snap-pkg
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 92) snap-pkg:
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 93) rm -rf $(objtree)/snap
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 94) mkdir $(objtree)/snap
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 95) $(MAKE) clean
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 96) $(call cmd,src_tar,$(KERNELPATH))
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 97) sed "s@KERNELRELEASE@$(KERNELRELEASE)@; \
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 98) s@SRCTREE@$(shell realpath $(KERNELPATH).tar.gz)@" \
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 99) $(srctree)/scripts/package/snapcraft.template > \
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 100) $(objtree)/snap/snapcraft.yaml
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 101) cd $(objtree)/snap && \
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 102) snapcraft --target-arch=$(UTS_MACHINE)
5704d4557f279 scripts/package/Makefile (Paolo Pisati 2017-11-27 12:07:34 +0100 103)
6d983feab8094 scripts/package/Makefile (Jan-Benedict Glaw 2005-05-24 11:27:37 +0200 104) # tarball targets
6d983feab8094 scripts/package/Makefile (Jan-Benedict Glaw 2005-05-24 11:27:37 +0200 105) # ---------------------------------------------------------------------------
af7db99a1caf2 scripts/Makefile.package (Matteo Croce 2019-11-04 14:11:44 +0100 106) tar-pkgs := dir-pkg tar-pkg targz-pkg tarbz2-pkg tarxz-pkg
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 107) PHONY += $(tar-pkgs)
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 108) $(tar-pkgs):
175209cce23d6 scripts/package/Makefile (Masahiro Yamada 2019-02-14 12:05:14 +0900 109) $(MAKE) -f $(srctree)/Makefile
a6e0487709ded scripts/package/Makefile (Trevor Bourget 2019-05-27 16:54:23 -0700 110) +$(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
6d983feab8094 scripts/package/Makefile (Jan-Benedict Glaw 2005-05-24 11:27:37 +0200 111)
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 112) # perf-pkg - generate a source tarball with perf source
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 113) # ---------------------------------------------------------------------------
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 114)
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 115) perf-tar=perf-$(KERNELVERSION)
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 116)
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 117) quiet_cmd_perf_tar = TAR
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 118) cmd_perf_tar = \
3bdccc880b39c scripts/package/Makefile (matt mooney 2011-05-13 16:41:12 -0700 119) git --git-dir=$(srctree)/.git archive --prefix=$(perf-tar)/ \
3bdccc880b39c scripts/package/Makefile (matt mooney 2011-05-13 16:41:12 -0700 120) HEAD^{tree} $$(cd $(srctree); \
4b63f60313502 scripts/package/Makefile (Riku Voipio 2015-09-01 17:14:21 +0300 121) echo $$(cat tools/perf/MANIFEST)) \
3bdccc880b39c scripts/package/Makefile (matt mooney 2011-05-13 16:41:12 -0700 122) -o $(perf-tar).tar; \
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 123) mkdir -p $(perf-tar); \
3bdccc880b39c scripts/package/Makefile (matt mooney 2011-05-13 16:41:12 -0700 124) git --git-dir=$(srctree)/.git rev-parse HEAD > $(perf-tar)/HEAD; \
a614d01bdd0cc scripts/package/Makefile (David Ahern 2013-11-06 08:55:35 -0700 125) (cd $(srctree)/tools/perf; \
4b63f60313502 scripts/package/Makefile (Riku Voipio 2015-09-01 17:14:21 +0300 126) util/PERF-VERSION-GEN $(CURDIR)/$(perf-tar)/); \
a614d01bdd0cc scripts/package/Makefile (David Ahern 2013-11-06 08:55:35 -0700 127) tar rf $(perf-tar).tar $(perf-tar)/HEAD $(perf-tar)/PERF-VERSION-FILE; \
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 128) rm -r $(perf-tar); \
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 129) $(if $(findstring tar-src,$@),, \
e4a42c82e943b scripts/Makefile.package (Denis Efremov 2020-06-08 12:59:44 +0300 130) $(if $(findstring bz2,$@),$(KBZIP2), \
e4a42c82e943b scripts/Makefile.package (Denis Efremov 2020-06-08 12:59:44 +0300 131) $(if $(findstring gz,$@),$(KGZIP), \
8dfb61dcbaceb scripts/Makefile.package (Denis Efremov 2020-06-05 10:39:55 +0300 132) $(if $(findstring xz,$@),$(XZ), \
9a17f40048be3 scripts/package/Makefile (Zdenek Kaspar 2011-01-30 12:18:51 +0100 133) $(error unknown target $@)))) \
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 134) -f -9 $(perf-tar).tar)
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 135)
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 136) perf-tar-pkgs := perf-tar-src-pkg perf-targz-src-pkg perf-tarbz2-src-pkg perf-tarxz-src-pkg
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 137) PHONY += $(perf-tar-pkgs)
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 138) $(perf-tar-pkgs):
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 139) $(call cmd,perf_tar)
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 140)
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 141) # Help text displayed when executing 'make help'
^1da177e4c3f4 scripts/package/Makefile (Linus Torvalds 2005-04-16 15:20:36 -0700 142) # ---------------------------------------------------------------------------
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 143) PHONY += help
6a4f6a26d32ab scripts/package/Makefile (Masahiro Yamada 2019-08-21 16:02:03 +0900 144) help:
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 145) @echo ' rpm-pkg - Build both source and binary RPM kernel packages'
3716001bcb7f5 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:24 +0300 146) @echo ' binrpm-pkg - Build only the binary kernel RPM package'
3716001bcb7f5 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:24 +0300 147) @echo ' deb-pkg - Build both source and binary deb kernel packages'
3716001bcb7f5 scripts/package/Makefile (Riku Voipio 2015-09-02 12:57:24 +0300 148) @echo ' bindeb-pkg - Build only the binary kernel deb package'
a64c0440dda1f scripts/Makefile.package (Geert Uytterhoeven 2019-10-25 13:52:32 +0200 149) @echo ' snap-pkg - Build only the binary kernel snap package'
a64c0440dda1f scripts/Makefile.package (Geert Uytterhoeven 2019-10-25 13:52:32 +0200 150) @echo ' (will connect to external hosts)'
af7db99a1caf2 scripts/Makefile.package (Matteo Croce 2019-11-04 14:11:44 +0100 151) @echo ' dir-pkg - Build the kernel as a plain directory structure'
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 152) @echo ' tar-pkg - Build the kernel as an uncompressed tarball'
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 153) @echo ' targz-pkg - Build the kernel as a gzip compressed tarball'
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 154) @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball'
9a17f40048be3 scripts/package/Makefile (Zdenek Kaspar 2011-01-30 12:18:51 +0100 155) @echo ' tarxz-pkg - Build the kernel as a xz compressed tarball'
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 156) @echo ' perf-tar-src-pkg - Build $(perf-tar).tar source tarball'
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 157) @echo ' perf-targz-src-pkg - Build $(perf-tar).tar.gz source tarball'
8e5564e6c7554 scripts/package/Makefile (Arnaldo Carvalho de Melo 2010-05-31 11:13:21 -0300 158) @echo ' perf-tarbz2-src-pkg - Build $(perf-tar).tar.bz2 source tarball'
9a17f40048be3 scripts/package/Makefile (Zdenek Kaspar 2011-01-30 12:18:51 +0100 159) @echo ' perf-tarxz-src-pkg - Build $(perf-tar).tar.xz source tarball'
000ec95fbe757 scripts/Makefile.package (Masahiro Yamada 2019-08-21 16:02:04 +0900 160)
000ec95fbe757 scripts/Makefile.package (Masahiro Yamada 2019-08-21 16:02:04 +0900 161) .PHONY: $(PHONY)