summaryrefslogtreecommitdiffstats
path: root/package/powerpc-utils/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/powerpc-utils/Config.in')
-rw-r--r--package/powerpc-utils/Config.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/powerpc-utils/Config.in b/package/powerpc-utils/Config.in
index eded41e7e5..8e02e76459 100644
--- a/package/powerpc-utils/Config.in
+++ b/package/powerpc-utils/Config.in
@@ -6,3 +6,25 @@ config BR2_PACKAGE_POWERPC_UTILS
System utilities for PowerPC machines.
http://sourceforge.net/projects/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
+ default y
+ 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 an (e)glibc toolchain"
+ depends on !BR2_TOOLCHAIN_USES_GLIBC
+
+endif
OpenPOWER on IntegriCloud