mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-02 21:48:20 +03:00
This patch makes below changes to powerpc-utils package:
- Update to latest upstream version (v1.3.1)
- Update License (from CPL to GPLv2)
- Update source link (from SF to github)
- Disable librtas by default
- Finally make necessary adjustment to compile the source
(run autogen.sh before ./configure as we don't have configure in new tarball).
RTAS:
This package contains few tools (like nvram, ppc64_cpu, etc) which are not
dependent on RTAS support. Traditionally we always had RTAS support (at least
on IBM Power system). But now a days we do have environments like PowerNV host
where we do not have RTAS support. Instead we use OPAL for runtime service [1].
Hence lets disable RTAS by default. If someone wants to build powerpc-utils
with RTAS they can enable it.
[1] https://github.com/open-power/skiboot.git
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[Thomas: re-add hash file, fix license, it's GPLv2+, improve commit title.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
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 an (e)glibc toolchain"
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
endif
|