summaryrefslogtreecommitdiffstats
path: root/package/i2c-tools
Commit message (Collapse)AuthorAgeFilesLines
* i2c-tools: install library and header to stagingBrad Love2018-08-241-0/+6
| | | | | | | | | | | | When the dynamic/static library of i2c-tools is enabled it is installed to the target destination. However, in order for external packages to link against it, it must also be installed to staging. Here, the flag is set to install the package to staging. The INSTALL_STAGING command is included to complete the operation. Signed-off-by: Brad Love <brad@nextdimension.cc> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* i2c-tools: include LGPL-2.1+ license for libi2cBrad Love2018-08-242-3/+5
| | | | | | | | | | | | | | | | | | Extend i2c-tools SPDX identifiers to include the library license. Also include COPYING.LGPL and README to license files. The ic2-tools readme states: LICENSE Check the documentation of individual tools for licensing information. The library is released under the LGPL version 2.1 or later, while most tools are released under the GPL version 2 or later, but there are a few exceptions. Signed-off-by: Brad Love <brad@nextdimension.cc> [Thomas: add hashes for COPYING.LGPL and README.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/busybox: invert dependency with i2c-toolsYann E. MORIN2018-07-081-4/+0
| | | | | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* i2c-tools: fix static buildBaruch Siach2018-01-021-0/+41
| | | | | | | | | | | | | | Add a patch to disable installation of dynamic library on static build. Fixes: http://autobuild.buildroot.net/results/2ba/2bab61f82fdab8fe7e13da61b7814a4c33501cd8/ http://autobuild.buildroot.net/results/284/28474ec930dc82fa504c57927e1f9bd994b2774a/ http://autobuild.buildroot.net/results/a1b/a1bf99467ad3661dcb3ede491a70a57f1f1e01b1/ Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com> Cc: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* i2c-tools: fix missing runtime libraryBaruch Siach2017-12-311-5/+2
| | | | | | | | | | | | | | | | When building with dynamic library support, i2c-tools utilities are linked against the libi2c.so library. Current i2c-tools install commands don't take this into account, which leads to the following run-time error: eeprog: error while loading shared libraries: libi2c.so.0: cannot open shared object file: No such file or directory Use the native install target to fix that. Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com> Cc: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/i2c-tools: bump to version 4.0Angelo Compagnucci2017-12-289-4/+309
| | | | | | | | | | This patch bumps i2c-tools to version 4.0 and adds a couple of new commands named i2ctransfer and eeprog. It adds also several upstream commits not included in the release that fix static compilation issues and parallel build issues. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/i*: fix wrapping of Config.in help textAdam Duskett2017-07-311-3/+3
| | | | | | | | | | | | | | The check-package script when ran gives warnings on text wrapping on all of these Config files. This patch cleans up all warnings related to the text wrapping for the Config files starting with the letter i in the package directory. The appropriate indentation is: <tab><2 spaces><62 chars> See http://nightly.buildroot.org/#writing-rules-config-in for more information. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* i2c-tools: use upstream tarballPeter Korsgaard2017-07-103-4/+8
| | | | | | | | | | | | | Tarballs of the releases are now again available: https://www.spinics.net/lists/linux-i2c/msg30349.html So change back to that instead of getting the source code from git. While we're at it, add a hash for the license file. [Peter: Also update Config.in homepage URL as pointed out by Baruch] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-2/+2
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/i2c-tools: add hashBernd Kuhls2017-06-111-0/+2
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package makefiles: clean up backslash spacing.Adam Duskett2017-04-221-1/+1
| | | | | | | | | | The check-package script when ran gave warnings on only using one space before backslashes on all of these makefiles. This patch cleans up all warnings related to the one space before backslashes rule in the make files in the package directory. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.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>
* i2c-tools: install binaries to /usr/sbinBartosz Golaszewski2016-08-021-1/+1
| | | | | | | | Upstream i2c-tools executables are installed to /usr/sbin by default. Make buildroot match this behavior. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* i2c-tools: add busybox to dependencies if enabledBartosz Golaszewski2016-08-021-0/+4
| | | | | | | | | | Before changing the install directory of i2c-tools to /usr/sbin/ make sure busybox is built first (if selected) in order to ensure that the symlinks to the busybox-provided versions are overwritten by the i2c-tools' install commands. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* i2c-tools: depend on BUSYBOX_SHOW_OTHERSBartosz Golaszewski2016-08-011-0/+1
| | | | | | | | | As of version 1.25.0 busybox by default includes a nearly complete implementation of i2c-tools. Hide the upstream version unless the BR2_PACKAGE_BUSYBOX_SHOW_OTHERS option is selected. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/i2c-tools: update download locationAngelo Compagnucci2016-06-262-5/+2
| | | | | | | | | Since the shut down of www.lm-sensors.org we do not have a package download location anymore, so we update the i2c-tools package to use the git repository hosted at kernel.org. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/i2c-tools: bump to version 3.1.2Angelo Compagnucci2015-06-302-4/+11
| | | | | | | | This patch bumps version to 3.1.2 and adds support for the recently introduced python3 support for py-smbus. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* i2c-tools: add support to build python extensionRyan Barnett2015-04-061-0/+27
| | | | | | | | | | | | Add a config option to build the python bindings for i2c-tools - py-smbus. The steps for building the python bindings is the same as the distutil steps that are a part of the python infrastructure. Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> CC: Baruch Siach <baruch@tkos.co.il> CC: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* i2c-tools: add hash fileRyan Barnett2015-04-061-0/+2
| | | | | | Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* i2c-tools: link to i2c-tools specific wiki pageBaruch Siach2015-02-221-1/+1
| | | | | | | | Although there is a link to that page from the main lm-sensors page, it is quite hard to find. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2014-10-231-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* i2c-tools: udated to version 3.1.1Oli Vogt2014-05-201-1/+1
| | | | | | | | 3.1.0 is dated 2011-12-04. 3.1.1 is from 2014-02-20 and has quite a few enhancements. Signed-off-by: oli vogt <oli.vogt.pub01@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "i2c-tools: Add i2c-dev.h to staging directory for userspace i2c ↵Thomas Petazzoni2014-03-041-5/+0
| | | | | | | | | | | | | | | | drivers." This reverts commit ff673f9a22b1467878f1a117f2c6198e9683d5c7, as the modified i2c-dev.h from i2c-tools has some definitions that conflict with the i2c.h from the kernel headers. This means that a userspace program or library that includes both will fail to build, as is the case with libsoc. Fixes: http://autobuild.buildroot.org/results/1f4/1f451a338487a2a3c8a8f9b18540d41b90ee5aac/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* i2c-tools: Add i2c-dev.h to staging directory for userspace i2c drivers.Jouko Nikula2014-03-031-0/+5
| | | | | Signed-off-by: Jouko Nikula <jouko.nikula@espotel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* i2c-tools: add license informationThomas De Schampheleire2013-10-091-0/+2
| | | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> 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>
* 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>
* i2c-tools: bump to version 3.1.0Gustavo Zacarias2012-01-261-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* i2c-tools: fix Config.in whitespacePeter Korsgaard2011-12-111-7/+7
| | | | | | Purely cosmetical. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* 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>
* i2c-tools: bump to version 3.0.3Gustavo Zacarias2011-01-171-3/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* i2c-tools: ensure binaries are installed in the right placeLionel Landwerlin2010-12-131-2/+1
| | | | | | | | And remove unneeded explicit stripping of target binaries [Peter: use install -D] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* i2c-tools: convert to the generic package infrastructureThomas Petazzoni2009-12-151-36/+8
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-1/+1
|
* i2c-tools: bump versionPeter Korsgaard2008-12-011-1/+1
|
* reverse changes to i2c-tools.mk until I tidy it up (get clean working for ↵Daniel Laird2008-08-261-12/+35
| | | | | | | | | example) Still feel a good change to make as some of the suggestions recently made it look like Makefile.autotools.in might add support for installing a list of binaries etc and this would benefit this package.
* The changes below move i2c-tools.mk to use Makefile.autotools.inDaniel Laird2008-08-261-35/+12
| | | | | | | | | | package/i2c-tools/i2c-tools.mk Use Makefile.autotools.in
* i2c-tools: cleanup clean targetPeter Korsgaard2008-08-041-4/+1
|
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* package/i2c-tools: I2C tools packagePeter Korsgaard2008-06-242-0/+64
This package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level access helpers, EEPROM decoding scripts, and more. Based on patch by Michel (BusError).
OpenPOWER on IntegriCloud