summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-10-09 21:20:03 +0200
committerMark Brown <broonie@kernel.org>2026-10-09 21:20:03 +0200
commit42e6288df48dbec158b14d7ffaf170bd6febfd31 (patch)
tree5e03b05fdd02126d86df6568e1180a7420aeeb78 /kernel
parent7f1e046d644d54d477b0d1dc887e25b39551be18 (diff)
parent20cb500b2dfd87e055b2a494665121d0c7d20f76 (diff)
downloadlinux-next-42e6288df48dbec158b14d7ffaf170bd6febfd31.tar.gz
linux-next-42e6288df48dbec158b14d7ffaf170bd6febfd31.zip
Merge branch 'kbuild-for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git
# Conflicts: # init/Kconfig # scripts/kallsyms.c # scripts/remove-stale-files
Diffstat (limited to 'kernel')
-rw-r--r--kernel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 1e1a31673577..c64c82c96b40 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -153,9 +153,13 @@ obj-$(CONFIG_SCF_TORTURE_TEST) += scftorture.o
$(obj)/configs.o: $(obj)/config_data.gz
+# .config is small, so it is compressed with gzip rather than the image compressor.
+quiet_cmd_gzip_config = GZIP $@
+ cmd_gzip_config = cat $(real-prereqs) | $(KGZIP) -n -f -9 > $@
+
targets += config_data config_data.gz
$(obj)/config_data.gz: $(obj)/config_data FORCE
- $(call if_changed,gzip)
+ $(call if_changed,gzip_config)
filechk_cat = cat $<