Makefile.package (1a50d1467077c0d6f504bdbb66e6fa0dcd5b3b01) | Makefile.package (c8578539debaedfbb4671e1954be8ebbd1307c6f) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2# Makefile for the different targets used to generate full packages of a kernel 3 4include $(srctree)/scripts/Kbuild.include 5include $(srctree)/scripts/Makefile.lib 6 7# Git 8# --------------------------------------------------------------------------- --- 127 unchanged lines hidden (view full) --- 136 $(MAKE) clean 137 sed "s@KERNELRELEASE@$(KERNELRELEASE)@; \ 138 s@SRCTREE@$(realpath $(srctree))@" \ 139 $(srctree)/scripts/package/snapcraft.template > \ 140 $(objtree)/snap/snapcraft.yaml 141 cd $(objtree)/snap && \ 142 snapcraft --target-arch=$(UTS_MACHINE) 143 | 1# SPDX-License-Identifier: GPL-2.0-only 2# Makefile for the different targets used to generate full packages of a kernel 3 4include $(srctree)/scripts/Kbuild.include 5include $(srctree)/scripts/Makefile.lib 6 7# Git 8# --------------------------------------------------------------------------- --- 127 unchanged lines hidden (view full) --- 136 $(MAKE) clean 137 sed "s@KERNELRELEASE@$(KERNELRELEASE)@; \ 138 s@SRCTREE@$(realpath $(srctree))@" \ 139 $(srctree)/scripts/package/snapcraft.template > \ 140 $(objtree)/snap/snapcraft.yaml 141 cd $(objtree)/snap && \ 142 snapcraft --target-arch=$(UTS_MACHINE) 143 |
144# pacman-pkg 145# --------------------------------------------------------------------------- 146 147PHONY += pacman-pkg 148pacman-pkg: 149 @ln -srf $(srctree)/scripts/package/PKGBUILD $(objtree)/PKGBUILD 150 +objtree="$(realpath $(objtree))" \ 151 BUILDDIR="$(realpath $(objtree))/pacman" \ 152 CARCH="$(UTS_MACHINE)" \ 153 KBUILD_MAKEFLAGS="$(MAKEFLAGS)" \ 154 KBUILD_REVISION="$(shell $(srctree)/scripts/build-version)" \ 155 makepkg $(MAKEPKGOPTS) 156 |
|
144# dir-pkg tar*-pkg - tarball targets 145# --------------------------------------------------------------------------- 146 147tar-install: FORCE 148 $(Q)$(MAKE) -f $(srctree)/Makefile 149 +$(Q)$(srctree)/scripts/package/buildtar $@ 150 151compress-tar.gz = -I "$(KGZIP)" --- 64 unchanged lines hidden (view full) --- 216 @echo ' rpm-pkg - Build both source and binary RPM kernel packages' 217 @echo ' srcrpm-pkg - Build only the source kernel RPM package' 218 @echo ' binrpm-pkg - Build only the binary kernel RPM package' 219 @echo ' deb-pkg - Build both source and binary deb kernel packages' 220 @echo ' srcdeb-pkg - Build only the source kernel deb package' 221 @echo ' bindeb-pkg - Build only the binary kernel deb package' 222 @echo ' snap-pkg - Build only the binary kernel snap package' 223 @echo ' (will connect to external hosts)' | 157# dir-pkg tar*-pkg - tarball targets 158# --------------------------------------------------------------------------- 159 160tar-install: FORCE 161 $(Q)$(MAKE) -f $(srctree)/Makefile 162 +$(Q)$(srctree)/scripts/package/buildtar $@ 163 164compress-tar.gz = -I "$(KGZIP)" --- 64 unchanged lines hidden (view full) --- 229 @echo ' rpm-pkg - Build both source and binary RPM kernel packages' 230 @echo ' srcrpm-pkg - Build only the source kernel RPM package' 231 @echo ' binrpm-pkg - Build only the binary kernel RPM package' 232 @echo ' deb-pkg - Build both source and binary deb kernel packages' 233 @echo ' srcdeb-pkg - Build only the source kernel deb package' 234 @echo ' bindeb-pkg - Build only the binary kernel deb package' 235 @echo ' snap-pkg - Build only the binary kernel snap package' 236 @echo ' (will connect to external hosts)' |
237 @echo ' pacman-pkg - Build only the binary kernel pacman package' |
|
224 @echo ' dir-pkg - Build the kernel as a plain directory structure' 225 @echo ' tar-pkg - Build the kernel as an uncompressed tarball' 226 @echo ' targz-pkg - Build the kernel as a gzip compressed tarball' 227 @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball' 228 @echo ' tarxz-pkg - Build the kernel as a xz compressed tarball' 229 @echo ' tarzst-pkg - Build the kernel as a zstd compressed tarball' 230 @echo ' perf-tar-src-pkg - Build the perf source tarball with no compression' 231 @echo ' perf-targz-src-pkg - Build the perf source tarball with gzip compression' --- 17 unchanged lines hidden --- | 238 @echo ' dir-pkg - Build the kernel as a plain directory structure' 239 @echo ' tar-pkg - Build the kernel as an uncompressed tarball' 240 @echo ' targz-pkg - Build the kernel as a gzip compressed tarball' 241 @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball' 242 @echo ' tarxz-pkg - Build the kernel as a xz compressed tarball' 243 @echo ' tarzst-pkg - Build the kernel as a zstd compressed tarball' 244 @echo ' perf-tar-src-pkg - Build the perf source tarball with no compression' 245 @echo ' perf-targz-src-pkg - Build the perf source tarball with gzip compression' --- 17 unchanged lines hidden --- |