Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2 v2] package: add openocd support
Date: Sun, 18 Sep 2011 12:22:09 +0200	[thread overview]
Message-ID: <20110918102209.GE16141@game.jcrosoft.org> (raw)
In-Reply-To: <8739fuw60t.fsf@macbook.be.48ers.dk>

On 11:31 Sun 18 Sep     , Peter Korsgaard wrote:
> >>>>> "JC" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:
> 
>  JC> with only the following Adapters
>  JC>  - FTDI FT2xxx/FT4xxx
>  JC>  - J-Link (Segger and Atmel SAM-ICE)
>  JC>  - Versaloon-Link JTAG Adapter
> 
>  JC> build for arm target
> 
>  JC> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>  JC> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
>  JC> Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
>  JC> ---
>  JC> v2:
> 
>  JC> add xscale fix
> 
> Still same error:
> 
> libtool: compile:  /home/peko/source/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src -DPKGDATADIR=\"/usr/share/openocd\" -DPKGLIBDIR=\"/usr/lib/openocd\" -I../../../jimtcl -I../../../jimtcl -pipe -Os -I/home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT bitbang.lo -MD -MP -MF .deps/bitbang.Tpo -c bitbang.c  -fPIC -DPIC -o .libs/bitbang.o
> In file included from ../../../src/jtag/jtag.h:26,
>                  from driver.c:34:
> ../../../src/helper/binarybuffer.h: In function 'buf_set_u32':
> ../../../src/helper/binarybuffer.h:52: error: 'for' loop initial declaration used outside C99 mode
> 
> This is with a trivial defconfig:
> 
> BR2_arm=y
> BR2_arm926t=y
> BR2_PACKAGE_OPENOCD=y
> 
> E.G. to reproduce stick those 3 lines in .config and run
which version of gcc do you use?
> 
>      yes '' | make oldconfig
>      make
> 
> Next to that I have a few minor comments:
> 
>  JC> +++ b/package/openocd/Config.in
>  JC> @@ -0,0 +1,29 @@
>  JC> +menuconfig BR2_PACKAGE_OPENOCD
> 
> Please use config rather than menuconfig to not create a submenu, making
> it harder for people to get an overview.
> 
>  JC> +	bool "OpenOCD"
> 
> We normally keep the short name in lower case.
The name of the project is OpenOCD so I want to keep it that way

Best Regards,
J.

  reply	other threads:[~2011-09-18 10:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-09 17:39 [Buildroot] [PATCH 1/2] package: add libftdi support Jean-Christophe PLAGNIOL-VILLARD
2011-08-09 17:39 ` [Buildroot] [PATCH 2/2] package: add openocd support Jean-Christophe PLAGNIOL-VILLARD
2011-08-15 13:54   ` Jean-Christophe PLAGNIOL-VILLARD
2011-08-17 10:57   ` Thomas Petazzoni
2011-08-17 17:32     ` Jean-Christophe PLAGNIOL-VILLARD
2011-09-11  9:17   ` Peter Korsgaard
2011-09-17 19:37     ` Jean-Christophe PLAGNIOL-VILLARD
2011-09-17 19:52   ` [Buildroot] [PATCH 2/2 v2] " Jean-Christophe PLAGNIOL-VILLARD
2011-09-18  9:31     ` Peter Korsgaard
2011-09-18 10:22       ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-09-18 11:05         ` Peter Korsgaard
2011-09-20 11:18           ` Jean-Christophe PLAGNIOL-VILLARD
2011-09-20 11:19     ` [Buildroot] [PATCH 2/2 v3] " Jean-Christophe PLAGNIOL-VILLARD
2011-09-21 20:59       ` Peter Korsgaard
2011-09-11  9:15 ` [Buildroot] [PATCH 1/2] package: add libftdi support Peter Korsgaard

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=20110918102209.GE16141@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.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