libsigrok: add host-doxygen dependency for C++ bindings

Doxygen is required to generate xml files required by libsigrokcxx
build system.

[Thomas: add host-python (or host-python3) to the dependencies when
building the C++ bindings for libsigrok, since a Python interpreter >=
2.7 is needed at build time.]

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bartosz Golaszewski 2015-04-10 11:49:58 +02:00 committed by Thomas Petazzoni
parent 330c4d01c4
commit 18c0584f88

View File

@ -48,7 +48,11 @@ endif
ifeq ($(BR2_PACKAGE_LIBSIGROKCXX),y)
LIBSIGROK_CONF_OPTS += --enable-cxx
LIBSIGROK_DEPENDENCIES += host-autoconf-archive glibmm
LIBSIGROK_DEPENDENCIES += \
host-autoconf-archive \
glibmm \
host-doxygen \
$(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
else
LIBSIGROK_CONF_OPTS += --disable-cxx
endif