From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv4] cc-tool: new package
Date: Sat, 02 May 2015 21:00:02 +0200 [thread overview]
Message-ID: <55451EB2.3060508@mind.be> (raw)
In-Reply-To: <1430212779-16143-1-git-send-email-marcin@bis.org.pl>
On 28/04/15 11:19, Marcin Bis wrote:
> cc-tool provides support for Texas Instruments CC Debugger
>
> Signed-off-by: Marcin Bis <marcin@bis.org.pl>
Looks good, just one small but important issue: the configure script thinks it
discovers boot in /usr/local (or in /usr if the host system has it there), and
adds /usr/local/lib to the library path.
I've made a modification that avoids that and I'll repost.
Regards,
Arnout
> ---
> package/Config.in | 1 +
> package/cc-tool/Config.in | 20 ++++++++++++++++++++
> package/cc-tool/cc-tool.hash | 3 +++
> package/cc-tool/cc-tool.mk | 14 ++++++++++++++
> 4 files changed, 38 insertions(+)
> create mode 100644 package/cc-tool/Config.in
> create mode 100644 package/cc-tool/cc-tool.hash
> create mode 100644 package/cc-tool/cc-tool.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 4e20e4d..12767d5 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -316,6 +316,7 @@ endmenu
> source "package/avrdude/Config.in"
> source "package/bcache-tools/Config.in"
> source "package/biosdevname/Config.in"
> + source "package/cc-tool/Config.in"
> source "package/cdrkit/Config.in"
> source "package/cryptsetup/Config.in"
> source "package/cwiid/Config.in"
> diff --git a/package/cc-tool/Config.in b/package/cc-tool/Config.in
> new file mode 100644
> index 0000000..5087f4a
> --- /dev/null
> +++ b/package/cc-tool/Config.in
> @@ -0,0 +1,20 @@
> +config BR2_PACKAGE_CC_TOOL
> + bool "cc-tool"
> + depends on BR2_INSTALL_LIBSTDCPP
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + 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
> + select BR2_PACKAGE_BOOST_SIGNALS
> + 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
> +
> + http://sourceforge.net/projects/cctool/
> +
> +comment "cc-tool needs a toolchain w/ C++, threads"
> + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
> diff --git a/package/cc-tool/cc-tool.hash b/package/cc-tool/cc-tool.hash
> new file mode 100644
> index 0000000..81844ee
> --- /dev/null
> +++ b/package/cc-tool/cc-tool.hash
> @@ -0,0 +1,3 @@
> +# From http://sourceforge.net/projects/cctool/files/
> +sha1 f313e55f019ea5338438633f5b5e689b699343e1 cc-tool-0.26-src.tgz
> +md5 26960676f3e6264e612c299fbf8ec5ea cc-tool-0.26-src.tgz
> diff --git a/package/cc-tool/cc-tool.mk b/package/cc-tool/cc-tool.mk
> new file mode 100644
> index 0000000..0612fd0
> --- /dev/null
> +++ b/package/cc-tool/cc-tool.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# cc-tool
> +#
> +################################################################################
> +
> +CC_TOOL_VERSION = 0.26
> +CC_TOOL_SITE = http://downloads.sourceforge.net/project/cctool
> +CC_TOOL_SOURCE = cc-tool-$(CC_TOOL_VERSION)-src.tgz
> +CC_TOOL_LICENSE = GPLv2
> +CC_TOOL_LICENSE_FILES = COPYING
> +CC_TOOL_DEPENDENCIES = boost libusb
> +
> +$(eval $(autotools-package))
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2015-05-02 19:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 13:42 [Buildroot] [PATCH] cc-tool: new package Marcin Bis
2015-04-27 15:31 ` Thomas Petazzoni
2015-04-27 19:46 ` Marcin Bis
2015-04-27 19:50 ` [Buildroot] [PATCH v2] " Marcin Bis
2015-04-28 3:28 ` Baruch Siach
2015-04-28 7:44 ` [Buildroot] [PATCH v3] " Marcin Bis
2015-04-28 9:01 ` Baruch Siach
2015-04-28 9:19 ` [Buildroot] [PATCHv4] " Marcin Bis
2015-05-02 19:00 ` Arnout Vandecappelle [this message]
2015-04-27 21:10 ` [Buildroot] [PATCH] " Thomas Petazzoni
2015-04-28 7:35 ` Marcin Bis
2015-04-28 8:02 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55451EB2.3060508@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox