bcusdk.mk 973 B

12345678910111213141516171819202122232425262728293031323334353637
  1. ################################################################################
  2. #
  3. # bcusdk
  4. #
  5. ################################################################################
  6. BCUSDK_VERSION = 0.0.5
  7. BCUSDK_SOURCE = bcusdk_$(BCUSDK_VERSION).tar.gz
  8. BCUSDK_SITE = http://www.auto.tuwien.ac.at/~mkoegler/eib
  9. BCUSDK_LICENSE = GPL-2.0+
  10. BCUSDK_LICENSE_FILES = COPYING
  11. BCUSDK_INSTALL_STAGING = YES
  12. BCUSDK_CONF_OPTS = \
  13. --enable-onlyeibd \
  14. --enable-ft12 \
  15. --enable-pei16 \
  16. --enable-tpuarts \
  17. --enable-eibnetip \
  18. --enable-eibnetipserver \
  19. --enable-eibnetiptunnel \
  20. --without-pth-test \
  21. --with-pth=$(STAGING_DIR)/usr
  22. BCUSDK_DEPENDENCIES = libpthsem
  23. ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
  24. BCUSDK_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES)
  25. BCUSDK_CONF_ENV += LIBS=$(TARGET_NLS_LIBS)
  26. endif
  27. define BCUSDK_REMOVE_EXAMPLES
  28. $(RM) -rf $(TARGET_DIR)/usr/share/bcusdk
  29. endef
  30. BCUSDK_POST_INSTALL_TARGET_HOOKS += BCUSDK_REMOVE_EXAMPLES
  31. $(eval $(autotools-package))