blob: b0ca84789e8822f74e5f0564478b565c1bd75435 [file] [log] [blame]
comment "powerpc-utils tools needs a toolchain w/ dynamic library"
depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_POWERPC_UTILS
bool "powerpc-utils"
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
select BR2_PACKAGE_ZLIB
help
System utilities for PowerPC machines.
https://github.com/nfont/powerpc-utils
if BR2_PACKAGE_POWERPC_UTILS
config BR2_PACKAGE_POWERPC_UTILS_RTAS
bool "RTAS support"
depends on BR2_TOOLCHAIN_USES_GLIBC
select BR2_PACKAGE_LIBRTAS
help
Enable support for functions that require RTAS.
This adds a dependency on librtas and provides the following
additional features at the cost of increasing the installed
package size from about 0.5MB to about 2MB:
ppc64_cpu --run-mode, uesensor, set_poweron_time, drmgr,
lsslot, activate_firmware, rtas_ibm_get_vpd, serv_config,
rtas_event_decode, sys_ident.
comment "RTAS support needs a glibc toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC
endif