summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-10-20 12:18:34 +0100
committerMark Brown <broonie@kernel.org>2026-10-20 12:18:34 +0100
commitaf93ae6b9fd975e981ea783ae504ebceba72fbb8 (patch)
tree029daf78813c1df484403bcd343724bbf3bfba74 /kernel
parent851b818f2a1d12ff50022d14a182c2bdee16a94e (diff)
parent2a5a1c2fab91358d44198eb16bf83e4989f73333 (diff)
downloadlinux-next-af93ae6b9fd975e981ea783ae504ebceba72fbb8.tar.gz
linux-next-af93ae6b9fd975e981ea783ae504ebceba72fbb8.zip
Merge branch 'kbuild-for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git
# Conflicts: # init/Kconfig # 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 2a64282749b8..4ff92e24680c 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -154,9 +154,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 $<