initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_SDBUSPLUS
|
||||
bool "sdbusplus"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_SYSTEMD
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
||||
help
|
||||
A C++ library for sd-bus with a bindings and doc generator.
|
||||
|
||||
This will build the target library. See the host package for
|
||||
the bindings and documentation generation program.
|
||||
|
||||
https://github.com/openbmc/sdbusplus
|
||||
|
||||
comment "sdbusplus needs systemd and a toolchain w/ C++, gcc >= 7"
|
||||
depends on !BR2_PACKAGE_SYSTEMD || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_HOST_SDBUSPLUS
|
||||
bool "host-sdbusplus"
|
||||
select BR2_PACKAGE_HOST_PKGCONF
|
||||
help
|
||||
A C++ library for sd-bus with a bindings and doc generator.
|
||||
|
||||
This will build the Python host side generation tool for
|
||||
bindings and documentation.
|
||||
|
||||
https://github.com/openbmc/sdbusplus
|
||||
@@ -0,0 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 c67b8f3d9b74fd0d70eb6eec3b2ec2d496d0f169deedf6fc07dbff2c2f275d2b sdbusplus-4212292bcf136d04b38ba5116aa568b0fa312798.tar.gz
|
||||
|
||||
# License file, locally calculated
|
||||
sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# sdbusplus
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SDBUSPLUS_VERSION = 4212292bcf136d04b38ba5116aa568b0fa312798
|
||||
SDBUSPLUS_SITE = $(call github,openbmc,sdbusplus,$(SDBUSPLUS_VERSION))
|
||||
SDBUSPLUS_DEPENDENCIES = host-autoconf-archive host-pkgconf systemd
|
||||
HOST_SDBUSPLUS_DEPENDENCIES = \
|
||||
host-autoconf-archive \
|
||||
host-pkgconf \
|
||||
host-python3 \
|
||||
host-python-inflection \
|
||||
host-python-mako \
|
||||
host-python-pyyaml
|
||||
SDBUSPLUS_CONF_OPTS = --disable-sdbuspp
|
||||
HOST_SDBUSPLUS_CONF_OPTS = --disable-libsdbusplus
|
||||
SDBUSPLUS_AUTORECONF = YES
|
||||
SDBUSPLUS_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive
|
||||
SDBUSPLUS_INSTALL_STAGING = YES
|
||||
SDBUSPLUS_LICENSE = Apache-2.0
|
||||
SDBUSPLUS_LICENSE_FILES = LICENSE
|
||||
|
||||
# Autoreconf is missing the m4/ directory, which might actually be missing
|
||||
# iff it was the first argument, but unfortunately we are overriding the
|
||||
# first include directory above. Thus we need that hook here.
|
||||
define SDBUSPLUS_CREATE_M4
|
||||
mkdir -p $(@D)/m4
|
||||
endef
|
||||
SDBUSPLUS_POST_PATCH_HOOKS += SDBUSPLUS_CREATE_M4
|
||||
HOST_SDBUSPLUS_POST_PATCH_HOOKS += SDBUSPLUS_CREATE_M4
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user