kumquat-buildroot/package/libodb-boost/libodb-boost.mk
Kamel Bouhara e2f1f28efd package/libodb-boost: add host variant
Add host variant of libodb-boost required by the ODB compiler.
The libodb-boost headers are needed at compile time, and
therefore installed in $(HOST_DIR).

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
[Arnout: add -std=c++11]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-03-21 21:57:26 +01:00

21 lines
828 B
Makefile

################################################################################
#
# libodb-boost
#
################################################################################
LIBODB_BOOST_VERSION_MAJOR = 2.4
LIBODB_BOOST_VERSION = $(LIBODB_BOOST_VERSION_MAJOR).0
LIBODB_BOOST_SOURCE = libodb-boost-$(LIBODB_BOOST_VERSION).tar.bz2
LIBODB_BOOST_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_BOOST_VERSION_MAJOR)
LIBODB_BOOST_INSTALL_STAGING = YES
LIBODB_BOOST_LICENSE = GPL-2.0
LIBODB_BOOST_LICENSE_FILES = LICENSE
LIBODB_BOOST_DEPENDENCIES = boost libodb
HOST_LIBODB_BOOST_DEPENDENCIES = hoost-boost host-libodb
LIBODB_BOOST_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
HOST_LIBODB_BOOST_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11"
$(eval $(autotools-package))
$(eval $(host-autotools-package))