kernel: Use the stock config 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 config so that it never complains about our kernel configuration. Signed-off-by: Sultan Alsawaf <sultanxda@gmail.com>
This commit is contained in:
parent
eacac4427d
commit
9e33a6782c
6010
arch/arm64/configs/lito-perf_defconfig
Normal file
6010
arch/arm64/configs/lito-perf_defconfig
Normal file
File diff suppressed because it is too large
Load Diff
@ -128,7 +128,7 @@ obj-$(CONFIG_RSEQ) += rseq.o
|
||||
$(obj)/configs.o: $(obj)/config_data.h
|
||||
|
||||
targets += config_data.gz
|
||||
$(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
|
||||
$(obj)/config_data.gz: arch/arm64/configs/lito-perf_defconfig FORCE
|
||||
$(call if_changed,gzip)
|
||||
|
||||
filechk_ikconfiggz = (echo "static const char kernel_config_data[] __used = MAGIC_START"; cat $< | scripts/bin2c; echo "MAGIC_END;")
|
||||
|
Loading…
Reference in New Issue
Block a user