initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,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/ibm-power-utilities/powerpc-utils.git
|
||||
|
||||
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
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 4e3a21419863c08adde49f0795eff0fbfe4597ce82593fa5fe1f1177913fb7b9 powerpc-utils-1.3.8.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# powerpc-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
POWERPC_UTILS_VERSION = 1.3.8
|
||||
POWERPC_UTILS_SITE = $(call github,ibm-power-utilities,powerpc-utils,v$(POWERPC_UTILS_VERSION))
|
||||
POWERPC_UTILS_DEPENDENCIES = zlib
|
||||
POWERPC_UTILS_AUTORECONF = YES
|
||||
POWERPC_UTILS_LICENSE = GPL-2.0+
|
||||
POWERPC_UTILS_LICENSE_FILES = COPYING
|
||||
POWERPC_UTILS_CPE_ID_VENDOR = powerpc-utils_project
|
||||
|
||||
POWERPC_UTILS_CONF_ENV = \
|
||||
ax_cv_check_cflags___fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no)
|
||||
POWERPC_UTILS_CONF_OPTS = --disable-werror
|
||||
|
||||
ifeq ($(BR2_PACKAGE_POWERPC_UTILS_RTAS),y)
|
||||
POWERPC_UTILS_DEPENDENCIES += librtas
|
||||
POWERPC_UTILS_CONF_OPTS += --with-librtas
|
||||
else
|
||||
POWERPC_UTILS_CONF_OPTS += --without-librtas
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user