summaryrefslogtreecommitdiffstats
path: root/package/usb_modeswitch
Commit message (Collapse)AuthorAgeFilesLines
* package/usb_modeswitch: avoid overriding variablesRicardo Martincoski2019-01-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Overriding variables in packages recipes is an error-prone practice. Current behavior of installing either only as a script or only as a binary is intended, as describe in the commit log of "d3e4db4e34 usb_modeswitch: bump to version 1.2.6" from 2013. Rewrite the code to keep the same behavior while replacing variable override [1] by conditional assignments [2]. [1] VAR = ... if ... VAR = ... [2] if ... VAR = ... else VAR = ... Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/usb_modeswitch: drop unicode space in commentRicardo Martincoski2019-01-271-1/+1
| | | | | | | | | Commit "a554109af8 package/usb_modeswitch: disable parallel build" added a unicode space in a comment. Replace it with a normal ASCII space for consistency with elsewhere. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/usb_modeswitch: disable parallel buildFabrice Fontaine2018-11-241-0/+2
| | | | | | | | | | | | | | | | | | | | | Build of package will sometime fails because of the following issue: install-static target has two dependencies: dispatcher-static and install-common Because dispatcher-static is not a file but only a target, it will always be called to build usb_modeswitch_dispatcher. So, even if install-common depends on usb_modeswitch_dispatcher, in some rare cases, install-static won't be able to install usb_modeswitch_dispatcher because it is being rebuild by dispatcher-static To fix this issue, disable parallel build Fixes: - http://autobuild.buildroot.org/results/8297be35725b816ff5afaf909605ceb41223efb6 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* usb_modeswitch: set CXX to false when C++ is missingBaruch Siach2018-04-171-0/+1
| | | | | | | | | | | | | | | | | Similar to the openocd fix in commit 5966e2dc54 (package/openocd: fix fallout after no-C++ fixups) the jimctl that is bundled with usb_modeswitch also wants to find a binary. This broke with commit 4cd1ab158 (core: alternate solution to disable C++). Revert to 'false' instead of 'no' here as well. Fixes: http://autobuild.buildroot.net/results/b4d/b4d4e925763cb6558af915f9781afe07fc557ebc/ http://autobuild.buildroot.net/results/61b/61b9dc2148df2e8fd0b30e62aedbfd30bb755e19/ http://autobuild.buildroot.net/results/468/468a7e6b049f159fbb4e79d3a12b53ca890f6933/ Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* usb_modeswitch: bump to version 2.5.2Carlos Santos2018-02-082-2/+3
| | | | | | | Also add license hash for "make legal-info". Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* usb_modeswitch: update config.guess / config.subPeter Korsgaard2017-11-081-0/+6
| | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/fbe/fbe21bd173e6566dd93dddd58d4a848de8a3465e/ The build system of the embedded jimtcl copy doesn't use autotools, but does use an old version of gnuconfig which doesn't know all the architectures supported by Buildroot, so update config.guess / config.sub like we do in pkg-autotools.mk Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* usb_modeswitch: explicitly set --host / --build for the embedded jimtclPeter Korsgaard2017-11-052-0/+30
| | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/106/106af20196089e74c35daabdae46f030981600bd/ Otherwise the (handwritten) configure script uses a config.guess script from 2010 to figure out the build host, breaking builds on ppc64le hosts. The result of --host / --build is only used to detect if we are building for Windows or not, which is why things are working on x86(-64) build hosts without specifying --host even though we are cross compiling - But this may change in the future, so we better pass the correct values. Passing extra jimtcl configure flags is unfortunately not forseen in the usb_modeswitch Makefile, so add a small patch making this possible. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: bump to version 2.5.0Baruch Siach2017-02-272-2/+2
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: bump to version 2.4.0Rahul Bedarkar2016-12-122-2/+2
| | | | | Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* usb-modeswitch: bump to version 2.3.0Gustavo Zacarias2016-02-112-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* usb_modeswitch: bump to version 2.2.6Gustavo Zacarias2015-11-093-107/+2
| | | | | | | Patch upstream so remove it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: fix static build failureGustavo Zacarias2015-07-281-0/+105
| | | | | | | | | | | | abort() is used in two different places, jim (proper C library abort) and usb_modeswitch.c (custom abort function). Status: emailed the patch to author. Fixes: http://autobuild.buildroot.net/results/789/7899a37d2c766716a1deff58e8be94c5c4962240/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: bump to version 2.2.5Gustavo Zacarias2015-07-182-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: bump to version 2.2.4Gustavo Zacarias2015-07-162-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: bump to version 2.2.3Gustavo Zacarias2015-07-082-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-3/+3
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: bump to version 2.2.1Gustavo Zacarias2015-01-202-1/+3
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* usb_modeswitch: adjust helpGustavo Zacarias2014-10-221-7/+7
| | | | | | | | | The phrasing is a bit off, also there are no WiFi dongles that need this AFAIK. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: more descriptive help textJonathan Ben Avraham2014-08-211-2/+13
| | | | | | | | | | Provides a fuller description of the USB_ModeSwitch functionality for the benefit of the otherwise clueless. [Thomas: minor formatting and wording fixes.] Signed-off-by: Jonathan Ben-Avraham <yba@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: bump to version 2.2.0Gustavo Zacarias2014-06-021-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* usb_modeswitch: bump to version 2.1.1Gustavo Zacarias2014-04-031-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* usb_modeswitch: bump to version 2.1.0Axel Lin2014-02-111-1/+1
| | | | | | | | | | | | | Version 2.1.0, 2014/01/28 ATTENTION: -I flag meaning reversed, default is to skip SCSI inquiry; introduction of StandardEject, replacing many MessageContents with the same function, reducing size of device config files, and always including the 'Allow Medium Removal' before ejecting (thanks to Lars Melin for the idea); fix in "bulk_read", removing bogus CSW request (report from "Sonya@zte") Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove package clean commandsThomas De Schampheleire2013-12-081-5/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsThomas De Schampheleire2013-12-061-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> 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>
* usb_modeswitch: bump to version 2.0.1Gustavo Zacarias2013-09-122-3/+2
| | | | | | | Drop libusb-compat since it's no longer required. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* usb_modeswitch: bump to version 1.2.6Patrick Ziegler2013-06-122-40/+17
| | | | | | | | | | | | | Remove 'usb_modeswitch-makefile.patch' because it was merged upstream. This package contains a dispatcher (wrapper) that can be installed as Tcl script or as binary without further dependency. If Tcl is selected and the binary interpreter is installed (BR2_PACKAGE_TCL && !BR2_PACKAGE_TCL_SHLIB_ONLY) the dispatcher will be installed as Tcl script otherwise as binary. Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* 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>
* usb_modeswitch: bump to version 1.2.5Gustavo Zacarias2012-12-041-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* usb_modeswitch: update to 1.2.4J.C. Woltz2012-08-122-29/+44
| | | | | | | | | | | | | | | This patch updates usb_modeswitch to version 1.2.4. The usb_modeswitch.mk needed to be modified for usb_modeswitch to compile. Also added extra remove section for the added help scripts and files. [thomas.petazzoni@free-electrons.com: bumped further to 1.2.4 instead of 1.2.3, adjusted the patch accordingly use TARGET_CONFIGURE_OPTS instead of passing CC, LD manually add license information.] Signed-off-by: J.C. Woltz <jwoltz@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> 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>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS 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>
* usb_modeswitch: Bump to version 1.1.2Gustavo Zacarias2010-05-044-36/+34
| | | | | | | And correct kconfig dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* usb_modeswitch: use GENTARGETS instead of AUTOTARGETSThomas Petazzoni2010-04-063-25/+41
| | | | | | | | | | | | | | usb_modeswitch build system is just a simple Makefile, so the GENTARGETS infrastructure is more appropriate than the AUTOTARGETS infrastructure. The build system is slightly fixed through a small patch, that replaces the previous "nostrip" patch. The latest version of usb_modeswitch is 1.1.1, but it now relies on udev and requires TCL to operate. Someone actually using usb_modeswitch would probably be at a better place to do this version bump. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libusb: bump version, convert to autotools, add -compat libMike Crowe2010-04-062-2/+2
| | | | | | | | | | | | | | Upgrade libusb to v1.0.3 and add new libusb-compat package for compatibility with old packages that expect the pre-1.0 API. Also update usb_modeswitch to depend on libusb-compat rather than libusb. Minor fixes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>. Fixes bug #1093. Signed-off-by: Mike Crowe <mac@mcrowe.com>
* Bump usb_modeswitch to 1.0.7Gustavo Zacarias2010-01-201-1/+1
| | | | | | | | | | Closes #919. Includes new device signatures, improved handling of Huawei devices and other fixes. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add new usb_modeswitch packageGustavo Zacarias2009-10-293-0/+47
Closes #511. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud