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