1 ################################################################################
5 ################################################################################
8 CC_TOOL_SITE = http://downloads.sourceforge.net/project/cctool
9 CC_TOOL_SOURCE = cc-tool-$(CC_TOOL_VERSION)-src.tgz
10 CC_TOOL_LICENSE = GPLv2
11 CC_TOOL_LICENSE_FILES = COPYING
12 CC_TOOL_DEPENDENCIES = boost libusb
14 # Configure script "discovers" boost in /usr/local if not given explicitly
15 CC_TOOL_CONF_OPTS = --with-boost=$(STAGING_DIR)/usr
17 # Help boost.m4 find the Boost Regex library, which needs the pthread
18 # library, but isn't detected using a modern (pkg-config) mechanism.
19 ifeq ($(BR2_STATIC_LIBS),y)
20 CC_TOOL_CONF_ENV += LIBS="-lpthread"
23 $(eval $(autotools-package))