kernel: Use the stock surya 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 ginkgo config so that it never complains about our
kernel configuration.

Signed-off-by: Adithya R <radithya2002@gmail.com>
This commit is contained in:
Sultan Alsawaf 2018-08-11 18:18:50 -07:00 committed by Adithya R
parent aa18d341ea
commit 1099e993a8
2 changed files with 6044 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -120,7 +120,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/vendor/surya-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;")