initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
config BR2_PACKAGE_CC_TOOL
|
||||
bool "cc-tool"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
|
||||
depends on BR2_USE_WCHAR # boost-filesystem
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_BOOST
|
||||
select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
|
||||
select BR2_PACKAGE_BOOST_SYSTEM
|
||||
select BR2_PACKAGE_BOOST_REGEX
|
||||
select BR2_PACKAGE_BOOST_FILESYSTEM
|
||||
help
|
||||
cc-tool provides support for Texas Instruments CC Debugger
|
||||
for Linux OS in order to program 8051-based System-On-Chip
|
||||
devices: CC254x CC253x CC243x CC251x CC111x
|
||||
|
||||
https://github.com/dashesy/cc-tool/
|
||||
|
||||
comment "cc-tool needs a toolchain w/ C++, threads, wchar, gcc >= 4.9 "
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
@@ -0,0 +1,5 @@
|
||||
# Locally computed
|
||||
sha256 1d26be4446c68413a02bf3156e6434d7fe9ce76aa0a169464ca5d7b2a731610d cc-tool-0.27.tar.gz
|
||||
|
||||
# Hash for license file
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
|
||||
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user