Skip to content

Commit 71deff5

Browse files
committed
Add linux_debpkg target
1 parent 52a1e86 commit 71deff5

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ help:
4848
@echo ' linux (default) - Builds the Linux kernel'
4949
@echo ' linux_defconfig - Builds the Linux kernel'
5050
@echo ' linux_modules - Builds the Linux kernel modules'
51+
@echo ' linux_debpkg - Creates a Debian package for the kernel'
5152
@echo ' ack - Builds the Android Common Kernel'
5253
@echo ' tools-vm - Builds linux/tools/vm'
5354
@echo ''
@@ -211,6 +212,12 @@ ifndef VERSION
211212
endif
212213
$(SCRIPT_DIR)/checkout_linux.sh $(VERSION) $(LINUX_SRC)
213214

215+
# Use xz compression instead of zstd, as the latter is not supported by some
216+
# versions of dpkg.
217+
.PHONY: linux_debpkg
218+
linux_debpkg: $(KERNEL_IMAGE)
219+
+ $(LINUX_MAKE) KDEB_COMPRESS=xz bindeb-pkg
220+
214221

215222
# These targets do the same thing as the `linux` targets, but because they're in
216223
# `ACK_TARGETS`, the `ACK` variable is set to 1 and the ACK source and output

linux

Submodule linux updated from 21e9963 to c9c3395

0 commit comments

Comments
 (0)