From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2 v2] package: add openocd support
Date: Sun, 18 Sep 2011 11:31:46 +0200 [thread overview]
Message-ID: <8739fuw60t.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1316289171-21296-1-git-send-email-plagnioj@jcrosoft.com> (Jean-Christophe PLAGNIOL-VILLARD's message of "Sat, 17 Sep 2011 21:52:51 +0200")
>>>>> "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
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.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2011-09-18 9:31 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 [this message]
2011-09-18 10:22 ` Jean-Christophe PLAGNIOL-VILLARD
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=8739fuw60t.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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