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	depends on BR2_USE_MMU
5	depends on BR2_TOOLCHAIN_HAS_ATOMIC
6
7config BR2_PACKAGE_POWERPC_UTILS
8	bool "powerpc-utils"
9	depends on !BR2_STATIC_LIBS # dlfcn.h
10	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
11	depends on BR2_USE_MMU # numactl
12	depends on BR2_TOOLCHAIN_HAS_ATOMIC # numactl
13	select BR2_PACKAGE_ZLIB
14	select BR2_PACKAGE_NUMACTL
15	help
16	  System utilities for PowerPC machines.
17
18	  https://github.com/ibm-power-utilities/powerpc-utils.git
19
20if BR2_PACKAGE_POWERPC_UTILS
21
22config BR2_PACKAGE_POWERPC_UTILS_RTAS
23	bool "RTAS support"
24	select BR2_PACKAGE_LIBRTAS
25	help
26	  Enable support for functions that require RTAS.
27
28	  This adds a dependency on librtas and provides the following
29	  additional features at the cost of increasing the installed
30	  package size from about 0.5MB to about 2MB:
31	  ppc64_cpu --run-mode, uesensor, set_poweron_time, drmgr,
32	  lsslot, activate_firmware, rtas_ibm_get_vpd, serv_config,
33	  rtas_event_decode, sys_ident.
34
35endif
36