Skip to content

Commit 7433117

Browse files
kerneltoastcyberknight777
authored andcommitted
kernel: Use the stock defconfig for /proc/config.gz
Userspace reads /proc/config.gz and spits out an error message after boot finishes when it doesn't like the kernel's configuration. In order to preserve our freedom to customize the kernel however we'd like, show userspace the stock kirin config so that it never complains about our kernel configuration. Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
1 parent ff99dd0 commit 7433117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ obj-$(CONFIG_HAS_IOMEM) += memremap.o
119119
$(obj)/configs.o: $(obj)/config_data.h
120120

121121
targets += config_data.gz
122-
$(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
122+
$(obj)/config_data.gz: arch/arm64/configs/mojito_defconfig FORCE
123123
$(call if_changed,gzip)
124124

125125
filechk_ikconfiggz = (echo "static const char kernel_config_data[] __used = MAGIC_START"; cat $< | scripts/basic/bin2c; echo "MAGIC_END;")

0 commit comments

Comments
 (0)