summaryrefslogtreecommitdiff
path: root/package/powerpc-utils/Config.in
blob: fb2fb7fac2e0cc25e8c97dc11a698f33748dcc8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"
	select BR2_PACKAGE_LIBRTAS
	depends on BR2_TOOLCHAIN_USES_GLIBC
	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