kumquat-buildroot/package/sdbusplus/sdbusplus.mk
Fabrice Fontaine ac120d2777 package/python-inflection: needs python3
python 2 support has been removed since version 0.4.0 and
a826dac7a5
resulting in the following build failure since bump to version 0.5.1 in
commit 6c09567e6b:

  File "/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-python-inflection-0.5.1/inflection/__init__.py", line 91
    def _irregular(singular: str, plural: str) -> None:
                           ^

Propagate host-python3 dependency to host-sdbusplus

Fixes:
 - http://autobuild.buildroot.org/results/6d6e937135ef95c63001359fec5f8c28183fc0a9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-09-27 16:34:21 +02:00

36 lines
1.2 KiB
Makefile

################################################################################
#
# 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))