kumquat-buildroot/package/cc-tool/cc-tool.mk
Fabrice Fontaine 18a65012c7 package/cc-tool: bump to version 0.27
- Switch site to get latest version
- Drop patches (already in version)
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-08-03 18:48:07 +02:00

31 lines
869 B
Makefile

################################################################################
#
# cc-tool
#
################################################################################
CC_TOOL_VERSION = 0.27
CC_TOOL_SITE = $(call github,dashesy,cc-tool,v$(CC_TOOL_VERSION))
CC_TOOL_LICENSE = GPL-2.0
CC_TOOL_LICENSE_FILES = COPYING
CC_TOOL_DEPENDENCIES = boost libusb
# From git
CC_TOOL_AUTORECONF = YES
# Configure script "discovers" boost in /usr/local if not given explicitly
CC_TOOL_CONF_OPTS = --with-boost=$(STAGING_DIR)/usr
CC_TOOL_CONF_ENV = LIBS="$(CC_TOOL_LIBS)"
# Help boost.m4 find the Boost Regex library, which needs the pthread
# library, but isn't detected using a modern (pkg-config) mechanism.
ifeq ($(BR2_STATIC_LIBS),y)
CC_TOOL_LIBS += -lpthread
endif
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
CC_TOOL_LIBS += -latomic
endif
$(eval $(autotools-package))