kernel configuration fragments
by jan.janson@congatec.com
Hello,
how can I modify the kernel configuration ?
I need modify the kernel configuration for our custom Elkhart Lake product.
Currently, I am using CIV_00.21.03.41_A12 with lts2019-chromium kernel.
I need something like the kernel configuration fragments in :
device/intel/project-celadon/caas/config-lts/lts2019-chromium/debug_diffconfig .
The only place where I see kernel configuration mentioned is the menuconfig target in
device/intel/mixins/groups/kernel/AndroidBoard.mk :
menuconfig xconfig gconfig: $(CHECK_CONFIG_LOG)
$(hide) xterm -e $(KERNEL_MAKE_CMD) $(KERNEL_MAKE_OPTIONS) $@
Unfortunately, it does not seem as functional. For example :
a) the xterm command is blocked by android build environment
build/soong/ui/build/paths/config.go (so seems as dropped).
b) And when I enable it, then the command executed in xterm fails :
--- console output ---
make: Entering directory '/home/honza/civ/kernel/lts2019-cromium.original'
make[1]: Entering directory '/home/honza/civ/out/target/product/caas/obj/kernel'
GEN Makefile
scripts/kconfig/conf --olddefconfig Kconfig
#
# No change to .config
#
make[1]: Leaving direcotry '/home/honza/civ/out/target/product/caas/obj/kernel'
make: Leaving directory '/home/honza/civ/kernel/lts2019-cromium.original'
--- console output end ---
--- xterm output ---
xterm: Can't execvp PATH=/home/honza/civ/prebuilts/build-tools/linux-x86/bin:/home/honza/civ/prebuilts/clang/host/linux-x86/clang-r416183b1/bin:/home/honza/civ/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/bin:/home/honza/civ/prebuilts/build-tools/path/linux-x86:/home/honza/civ/out/.path: No such file or directory
--- xterm output end ---
How were the kernel configuration fragments (debug_diffconfig) done ?
Best Regards,
Jan Janson