summaryrefslogtreecommitdiff
path: root/scripts/Makefile.debug
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-12-21 23:15:21 +0300
committerJakub Kicinski <kuba@kernel.org>2022-12-21 23:15:21 +0300
commitc183e6c3ec342624c43269c099050d01eeb67e63 (patch)
treebbfd027f74581221debe1d31e3b472cc0d03cf3b /scripts/Makefile.debug
parent9054b41c4e1b5725e573c13166cee56bf7034bbd (diff)
parent609d3bc6230514a8ca79b377775b17e8c3d9ac93 (diff)
downloadlinux-c183e6c3ec342624c43269c099050d01eeb67e63.tar.xz
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
No conflicts. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.debug')
-rw-r--r--scripts/Makefile.debug6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/Makefile.debug b/scripts/Makefile.debug
index 332c486f705f..059ff38fe0cb 100644
--- a/scripts/Makefile.debug
+++ b/scripts/Makefile.debug
@@ -27,10 +27,14 @@ else
DEBUG_RUSTFLAGS += -Cdebuginfo=2
endif
-ifdef CONFIG_DEBUG_INFO_COMPRESSED
+ifdef CONFIG_DEBUG_INFO_COMPRESSED_ZLIB
DEBUG_CFLAGS += -gz=zlib
KBUILD_AFLAGS += -gz=zlib
KBUILD_LDFLAGS += --compress-debug-sections=zlib
+else ifdef CONFIG_DEBUG_INFO_COMPRESSED_ZSTD
+DEBUG_CFLAGS += -gz=zstd
+KBUILD_AFLAGS += -gz=zstd
+KBUILD_LDFLAGS += --compress-debug-sections=zstd
endif
KBUILD_CFLAGS += $(DEBUG_CFLAGS)