xref: /OK3568_Linux_fs/buildroot/package/sdbusplus/sdbusplus.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# sdbusplus
4#
5################################################################################
6
7SDBUSPLUS_VERSION = 4212292bcf136d04b38ba5116aa568b0fa312798
8SDBUSPLUS_SITE = $(call github,openbmc,sdbusplus,$(SDBUSPLUS_VERSION))
9SDBUSPLUS_DEPENDENCIES = host-autoconf-archive host-pkgconf systemd
10HOST_SDBUSPLUS_DEPENDENCIES = \
11	host-autoconf-archive \
12	host-pkgconf \
13	host-python3 \
14	host-python-inflection \
15	host-python-mako \
16	host-python-pyyaml
17SDBUSPLUS_CONF_OPTS = --disable-sdbuspp
18HOST_SDBUSPLUS_CONF_OPTS = --disable-libsdbusplus
19SDBUSPLUS_AUTORECONF = YES
20SDBUSPLUS_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive
21SDBUSPLUS_INSTALL_STAGING = YES
22SDBUSPLUS_LICENSE = Apache-2.0
23SDBUSPLUS_LICENSE_FILES = LICENSE
24
25# Autoreconf is missing the m4/ directory, which might actually be missing
26# iff it was the first argument, but unfortunately we are overriding the
27# first include directory above. Thus we need that hook here.
28define SDBUSPLUS_CREATE_M4
29	mkdir -p $(@D)/m4
30endef
31SDBUSPLUS_POST_PATCH_HOOKS += SDBUSPLUS_CREATE_M4
32HOST_SDBUSPLUS_POST_PATCH_HOOKS += SDBUSPLUS_CREATE_M4
33
34$(eval $(autotools-package))
35$(eval $(host-autotools-package))
36