summaryrefslogtreecommitdiffstats
path: root/package/openocd
Commit message (Collapse)AuthorAgeFilesLines
* openocd: remove BR2_ARCH_HAS_ATOMICS dependencyThomas Petazzoni2016-01-261-4/+0
| | | | | | | | | | | | | | | | | For some reason, since when openocd was introduced, it was using a BR2_ARCH_HAS_ATOMICS dependency for all sub-options that selected BR2_PACKAGE_LIBFTDI1, even if the libftdi1 package did not have any atomics dependency. Maybe it was confused with the libftdi package, which did have a BR2_ARCH_HAS_ATOMICS dependency ? Regardless, openocd with all four sub-options that currently depend on BR2_ARCH_HAS_ATOMICS builds perfectly fine with a toolchain that does not implement any of the __sync atomic built-ins, so we can remove the BR2_ARCH_HAS_ATOMICS dependency. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/openocd: select libusb when selecting libusb-compatRomain Naour2016-01-011-0/+5
| | | | | | | | | | | | | | | | | | | | | libusb-compat depends on libusb package, so we need to select libusb package at the same time as libusb-compat to avoid an unmet dependency. Since 28f67899e54f15c6e48484ea2976c3e431756bcb, the build stop if a package build is trigged at Makefile level without being selected at Config.in level. This is the case here with BR2_PACKAGE_OPENOCD_USBPROG which select BR2_PACKAGE_LIBUSB_COMPAT without selecting BR2_PACKAGE_LIBUSB. Fixes: http://autobuild.buildroot.net/results/b4a/b4a8c54eed6bf75ab8ade0653953d19792155727/ Signed-off-by: Romain Naour <romain.naour@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* openocd: bump to 0.9.0Yegor Yefremov2015-12-014-46/+8
| | | | | | | Remove obsolete compilation error patch and update jimtcl related patch. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: update some home page URLs in Config.in.host filesRobert P. J. Day2015-04-181-1/+1
| | | | | | | Some URLs for package/*/Config.in.host files could use some updating. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openocd: openjtag needs libusb-compatBaruch Siach2015-03-251-0/+1
| | | | | | | | | | | | | | | | | | | Since commit 9bdf5926 (package/openocd: depends on libftdi1 instead of libftdi) the OpenJTAG Programmer can be built without libusb-compat, that is a dependency of libftdi (but not libftdi1). This breaks the build, because openjtag.c uses libusb-compat headers. Select BR2_PACKAGE_LIBUSB_COMPAT to fix this. Fixes: http://autobuild.buildroot.net/results/d19/d1969e6df56835568fb908b7f252aec0915d9fa4/ http://autobuild.buildroot.net/results/f06/f06ed6df6138ab399036c397c3f72d33d64fe0a3/ http://autobuild.buildroot.net/results/bd7/bd7f90f3cc1d2b395f9849eb0630c2602a075bf5/ ... Cc: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/openocd: depends on libftdi1 instead of libftdiSamuel Martin2015-03-202-5/+5
| | | | | | | | | Note that, if both libftdi and libftdi1 are available, openocd will prefer libftdi1, so does Buildroot. ;-) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/openocd: disable aice programmer on non-MMU architectureSamuel Martin2015-01-031-0/+1
| | | | | | | | aice sources use fork function, which is only available on architecture with MMU. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/openocd: explicitly disable unselected adaptersSamuel Martin2015-01-031-29/+29
| | | | | | | | Some adapters are automatically enabled, but may not be built because of missing (archecture) dependencies. So, just set the options symetrically. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openocd: pass --disable-werror to fix build issuesThomas Petazzoni2015-01-021-2/+4
| | | | | | | | | | Should fix: http://autobuild.buildroot.org/results/91d/91d2ae34f14f1978e0985e75f803055d51201a93/ and similar build problems. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openocd: bump to version 0.8.0claurita2015-01-0211-215/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the management of (almost) all the config options of openocd 0.8.0. A BR config variable is added for (almost) every adapter known to openocd and all the dependencies are automatically calculated from the chosen adapters, so only the necessary libraries are built. Note that CMSIS_DAP adapter requires hidapi (not libhid) and hidapi is not actually included in buildroot, so it has been removed. Also zy1000 adapters are actually broken in openocd and have been removed. The host version of the package enables all the possible adapters and the related libraries. [Thomas: - Slightly fixup the commit log. - Rename the patches to the new patch naming convention. - Update hash file using a contribution from Vincent Stehlé. - Move the thread dependency from the OpenOCD option down to each sub-option that actually needs it (when it needs libusb, libusb-compat or libftdi). We keep only one comment, as we would otherwise have to add too many repeatitive comments. - Remove commented options. - Add missing dependency on BR2_ARCH_HAS_ATOMICS when selecting BR2_PACKAGE_LIBFTDI. - Remove trailing white spaces. - Pass -std=gnu99, needed to build with a basic toolchain. - Write the OPENOCD_DEPENDENCIES and OPENOCD_CONF_OPTS conditions in a more compact way. - Adjust indentation for HOST_OPENOCD_CONF_OPTS. - Reword the comment above HOST_OPENOCD_CONF_OPTS.] Signed-off-by: Claudio Laurita <claudio.laurita@integrazionetotale.it> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: add hashes for SourceForge-hosted packagesYann E. MORIN2014-12-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since SourceForge sometimes serves us faulty tarballs, we can tons of autobuild failures: http://autobuild.buildroot.org/results/9fb/9fba5bf086a4e7a29e5f7156ec43847db7aacfc4/ http://autobuild.buildroot.org/results/6c8/6c837b244c45ac3b3a887734a371cd6d226cf216/ ... Fix that by adding hash files for all SourceForge-hosted packages (thos etht did not already have it). We normally prefer to use hashes published by upstream, but hunting them all one by one is a tedious task, so those hashes were all locally computed with a script that searched for SF-hosted packages, downloades the associated tarball, computed the hash, and stored it in the corresponding .hash file. Also, SF publishes sha1 hashes, while I used the stronger sha256, since sha1 is now considered to be relatively weak. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Richard Braun <rbraun@sceen.net> Cc: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-5/+5
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libftdi: add dependency on atomic operationsAnton Kolesov2014-08-181-0/+1
| | | | | | | | | | This fixes: http://autobuild.buildroot.net/results/6cb25ed954840109c9d0e582e922b0ba9d07e174/ Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> [yann.morin.1998@free.fr: use the new symbol; remove comment strings] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* openocd: add license informationGustavo Zacarias2014-06-251-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* openocd: switch homepage now that berlios is goneGustavo Zacarias2014-06-181-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove all := signsThomas Petazzoni2013-01-201-1/+2
| | | | | | | | | | | Finally get rid of all := used for variable definitions in packages, as we suggest in our manual and during the review of new packages. While I was at it, I also sometimes added a few missing new lines between the header and the first variable definition. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* remove rest of the BR2_SOURCEFORGE_MIRROR referencesStefan Fröberg2012-08-281-1/+1
| | | | | Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libusb: needs thread supportGustavo Zacarias2012-07-301-0/+4
| | | | | | | | | | libusb needs thread support, and so do other packages that depend on it. [thomas.petazzoni@free-electrons.com: adds threads dependency to libnfc-llp, which selects libnfc.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openocd: fix breakage with newer autotoolsGustavo Zacarias2012-06-241-0/+40
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openocd: fix libftdi dependency if _FT2XXX option is selectedPeter Korsgaard2012-02-021-0/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openocd: add host variantThomas Petazzoni2012-02-022-0/+16
| | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openocd: libusb patch: append rather than override LDFLAGSPeter Korsgaard2011-10-091-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openocd: remove fixed ldflags breaking buildPeter Korsgaard2011-10-051-0/+37
| | | | | | | The openocd configure script would forcibly add -L/usr/lib to LDFLAGS, causing the cross compiler to use host libraries, breaking the build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add openocd supportJean-Christophe PLAGNIOL-VILLARD2011-09-216-0/+158
with only the following Adapters - FTDI FT2xxx/FT4xxx - J-Link (Segger and Atmel SAM-ICE) - Versaloon-Link JTAG Adapter [Peter: Config.in tweaks] Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud