Skip to content

Commit

Permalink
Add linux_debpkg target
Browse files Browse the repository at this point in the history
  • Loading branch information
gsingh93 committed Apr 28, 2023
1 parent 52a1e86 commit 71deff5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ help:
@echo ' linux (default) - Builds the Linux kernel'
@echo ' linux_defconfig - Builds the Linux kernel'
@echo ' linux_modules - Builds the Linux kernel modules'
@echo ' linux_debpkg - Creates a Debian package for the kernel'
@echo ' ack - Builds the Android Common Kernel'
@echo ' tools-vm - Builds linux/tools/vm'
@echo ''
Expand Down Expand Up @@ -211,6 +212,12 @@ ifndef VERSION
endif
$(SCRIPT_DIR)/checkout_linux.sh $(VERSION) $(LINUX_SRC)

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


# These targets do the same thing as the `linux` targets, but because they're in
# `ACK_TARGETS`, the `ACK` variable is set to 1 and the ACK source and output
Expand Down
2 changes: 1 addition & 1 deletion linux
Submodule linux updated from 21e996 to c9c339

0 comments on commit 71deff5

Please sign in to comment.