Skip to content

Commit 6e3ba44

Browse files
kerneltoastMainak009
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.
1 parent 5562296 commit 6e3ba44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ $(obj)/configs.o: $(obj)/config_data.h
125125
# config_data.h contains the same information as ikconfig.h but gzipped.
126126
# Info from config_data can be extracted from /proc/config*
127127
targets += config_data.gz
128-
$(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
128+
$(obj)/config_data.gz: arch/arm64/configs/santoni_treble_defconfig FORCE
129129
$(call if_changed,gzip)
130130

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

0 commit comments

Comments
 (0)