odb.mk 1000 B

123456789101112131415161718192021222324252627
  1. ################################################################################
  2. #
  3. # odb
  4. #
  5. ################################################################################
  6. ODB_VERSION_MAJOR = 2.4
  7. ODB_VERSION = $(ODB_VERSION_MAJOR).0
  8. ODB_SOURCE = odb-$(ODB_VERSION).tar.bz2
  9. ODB_SITE = https://www.codesynthesis.com/download/odb/$(ODB_VERSION_MAJOR)
  10. ODB_LICENSE = GPL-3.0
  11. ODB_LICENSE_FILES = LICENSE
  12. # host-libodb is not needed to build host-odb, but it is needed to use
  13. # the ODB compiler, as it install header files that are needed at
  14. # runtime by the odb compiler.
  15. HOST_ODB_DEPENDENCIES = host-libcutl host-libodb
  16. ifeq ($(BR2_PACKAGE_LIBODB_BOOST),y)
  17. HOST_ODB_DEPENDENCIES += host-libodb-boost
  18. endif
  19. HOST_ODB_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11"
  20. # Prevent odb from trying to install the gcc plugin into the hosts
  21. # gcc plugin directory. Instead, this will install the gcc plugin
  22. # into host/libexec/odb
  23. HOST_ODB_CONF_OPTS = --with-gcc-plugin-dir=no
  24. $(eval $(host-autotools-package))