mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
readme: more /proc/config.gz info on README
This commit is contained in:
17
README.adoc
17
README.adoc
@@ -2114,13 +2114,26 @@ Beware that Buildroot can `sed` override some of the configurations we make no m
|
||||
|
||||
==== Find the kernel config
|
||||
|
||||
Build configuration can be observed in guest with:
|
||||
Ge the build config in guest:
|
||||
|
||||
....
|
||||
zcat /proc/config.gz
|
||||
....
|
||||
|
||||
or with our shortcut:
|
||||
|
||||
....
|
||||
/conf.sh
|
||||
....
|
||||
|
||||
or on host:
|
||||
This is enabled by:
|
||||
|
||||
....
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
....
|
||||
|
||||
From host:
|
||||
|
||||
....
|
||||
cat out/*/buildroot/build/linux-custom/.config
|
||||
|
||||
@@ -18,7 +18,7 @@ CONFIG_GDB_SCRIPTS=y
|
||||
# https://stackoverflow.com/questions/20196636/does-kallsyms-have-all-the-symbol-of-kernel-functions/44614878#44614878
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
|
||||
# zcat /proc/config.gz
|
||||
# /proc/config.gz
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
|
||||
|
||||
Reference in New Issue
Block a user