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 salaa config so that it never complains about our kernel configuration. Change-Id: I39c8dd346818e428dc3eae32e034d9c51094bfa6 Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
This commit is contained in:
committed by
Debayan Kar
parent
ba084aaa11
commit
d5b9952001
5507
arch/arm64/configs/stock_defconfig
Normal file
5507
arch/arm64/configs/stock_defconfig
Normal file
File diff suppressed because it is too large
Load Diff
@@ -125,7 +125,7 @@ obj-$(CONFIG_HAS_IOMEM) += memremap.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/stock_defconfig FORCE
|
||||
$(call if_changed,gzip)
|
||||
|
||||
filechk_ikconfiggz = (echo "static const char kernel_config_data[] __used = MAGIC_START"; cat $< | scripts/basic/bin2c; echo "MAGIC_END;")
|
||||
|
||||
Reference in New Issue
Block a user