Kconfig
Source: https://www.linuxembedded.fr/2013/01/utiliser-kconfig-dans-ses-projets/
the goal of this project is to use Kconfig. Download https://ymorin.is-a-geek.org/download/kconfig-frontends/
PKG="kconfig-frontends" PKG_ver="3.12.0.0"
PKG_file="$PKG-$PKG_ver.tar.bz2"
URL="https://ymorin.is-a-geek.org/download/kconfig-frontends/$PKG_file"
function do_unpack
{
do_unpack_std
}
function do_compile
{
./configure --host=$build
make
}
function do_install
{
cd ../..
}
|
or
$> ./configure && make |
in frontends/ :
.PHONY: menuconfig menuconfig: # ifneq ($(MCONF),) $(MCONF) Kconfig #endif .PHONY: config config: #ifneq ($(CONF),) mkdir -p include/ mkdir -p include/config include/generated # $(CONF) --silentoldconfig Kconfig endif |
Exemple Kconfig:
#
# Kconfig
#
menu "Commands"
endmenu
menu "i2c test suite"
endmenu
menu "Kdump"
endmenu
menu "Kernel"
menu "Connectors"
config EVENT_GENERATOR
bool
prompt "Event generator"
help
Generate fork event.
Generate uid event.
Generate gid event.
config PEC_LISTENER
bool
prompt "pec_listener"
help
Open PEC listening.
Receive msg from PEC.
Close PEC listening.
endmenu
config CONTAINERS
bool
prompt "Containers"
help
This program verifies the kernel version to be no later than 2.6.16 And checks if the unshare() system call is defined using dlsym(), in the Dyn amically Linked Libraries.
menu "Controllers"
config CGROUP
bool
prompt "Cgroup"
help
Generic macros for dealing with netlink sockets. Might be duplicated elsewhere. It is recommended that commercial grade applications use libnl
or libnetlink and use the interfaces provided by the library
config CPUCTL
bool
prompt "Cpuctl"
help
This testcase tests the ability of the cpu controller to provide fairness for share values (absolute).
hog the cpu time and check the cpu which the task is running on is in the cpus of the cpuset or not.
endmenu
config DEVICES_DRIVERS
bool
prompt "Devices drivers"
config IO
bool
prompt "Io"
config IPC
bool
prompt "IPC"
config LOGGING
bool
prompt "Logging"
config MEMORY
bool
prompt "Memory"
config MODULE
bool
prompt "Module"
config NUMA
bool
prompt "NUMA"
config PERF_COUNTERS
bool
prompt "performance counters"
config SCHED
bool
prompt "Sched"
config SECURITY
bool
prompt "Security"
config TIMERS
bool
prompt "Timers"
config SYSCALLS
bool
prompt "Syscalls"
endmenu
menu "Misc"
endmenu
menu "Network"
endmenu
menu "Open posix testsuite"
endmenu
menu "Realtime"
endmenu
menu "RTC test suite"
endmenu
menu "SPI dev test suite"
endmenu
menu "USB test suite"
endmenu
menu "Utils"
endmenu
menu "Wdt test suite"
endmenu
|
Sujet: Kconfig
Aucun message nʼ a été trouvé.