xref: /OK3568_Linux_fs/buildroot/package/powerpc-utils/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "powerpc-utils tools needs a toolchain w/ dynamic library"
2	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
3	depends on BR2_STATIC_LIBS
4
5config BR2_PACKAGE_POWERPC_UTILS
6	bool "powerpc-utils"
7	depends on !BR2_STATIC_LIBS # dlfcn.h
8	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
9	select BR2_PACKAGE_ZLIB
10	help
11	  System utilities for PowerPC machines.
12
13	  https://github.com/ibm-power-utilities/powerpc-utils.git
14
15if BR2_PACKAGE_POWERPC_UTILS
16
17config BR2_PACKAGE_POWERPC_UTILS_RTAS
18	bool "RTAS support"
19	depends on BR2_TOOLCHAIN_USES_GLIBC
20	select BR2_PACKAGE_LIBRTAS
21	help
22	  Enable support for functions that require RTAS.
23
24	  This adds a dependency on librtas and provides the following
25	  additional features at the cost of increasing the installed
26	  package size from about 0.5MB to about 2MB:
27	  ppc64_cpu --run-mode, uesensor, set_poweron_time, drmgr,
28	  lsslot, activate_firmware, rtas_ibm_get_vpd, serv_config,
29	  rtas_event_decode, sys_ident.
30
31comment "RTAS support needs a glibc toolchain"
32	depends on !BR2_TOOLCHAIN_USES_GLIBC
33
34endif
35