Documentation ¶
Index ¶
Constants ¶
View Source
const ( TriNo triState = 0 TriYes triState = 1 TriModule triState = 2 )
Variables ¶
This section is empty.
Functions ¶
func Find ¶
Find find a kconfig file on the host. It first reads from /boot/config- of the current running kernel and tries /proc/config.gz if nothing was found in /boot. If none of the file provide a kconfig, it returns an error.
func Parse ¶
Parse parses the kconfig file for which a reader is given. All the CONFIG_* which are in filter and which are set set will be put in the returned map as key with their corresponding value as map value. If filter is nil, no filtering will occur. If the kconfig file is not valid, error will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.