From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] cc-tool: new package
Date: Mon, 27 Apr 2015 17:31:26 +0200 [thread overview]
Message-ID: <20150427173126.23797992@free-electrons.com> (raw)
In-Reply-To: <1430142129-32750-1-git-send-email-marcin@bis.org.pl>
Dear Marcin Bis,
Thanks for this contribution! See some comment sbelow.
On Mon, 27 Apr 2015 15:42:09 +0200, Marcin Bis wrote:
> cc-tool provides support for Texas Instruments CC Debugger
>
> Signed-off-by: Marcin Bis <marcin@bis.org.pl>
It is not entirely clear: is it a tool you run on your target device,
or on your host/development machine?
Your package is for the target, but I would intuitively expect a
debugger to run on the host/development machine. How does it work?
> diff --git a/package/cc-tool/Config.in b/package/cc-tool/Config.in
> new file mode 100644
> index 0000000..f62200d
> --- /dev/null
> +++ b/package/cc-tool/Config.in
> @@ -0,0 +1,21 @@
> +config BR2_PACKAGE_CC_TOOL
> + bool "cc-tool"
> + depends on BR2_INSTALL_LIBSTDCPP
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + depends on BR2_LARGEFILE
> + 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
So you're selecting libusb and boost here.
> + 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++, largefile, threads"
> + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !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..9a6ee6e
> --- /dev/null
> +++ b/package/cc-tool/cc-tool.mk
> @@ -0,0 +1,13 @@
> +################################################################################
> +#
> +# 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
But you don't depend on them anywhere here. So you are not guaranteed
that they will be built before cc-tool.
> +
> +$(eval $(autotools-package))
Other than that, looks good. I've checked the license info, it looks
good to me. The configure script doesn't provide any option for
optional things, so it looks alright.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-04-27 15:31 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 [this message]
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
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=20150427173126.23797992@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--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