summaryrefslogtreecommitdiffstats
path: root/package/jimtcl
Commit message (Collapse)AuthorAgeFilesLines
* package/jimtcl: fix fallout after no-C++ fixupsYann E. MORIN2018-03-311-1/+5
| | | | | | | | | | | | | | | | | Commit 4cd1ab158 (core: alternate solution to disable C++) made use of a non-existent 'no' binary when C++ is not available in the toolchain. However, some packages, like jimtcl, really want to find the binary that $CXX contains. Revert jimtcl to use 'false' instead of 'no'. Fixes: http://autobuild.buildroot.org/results/54f/54f3df03551fbdf293d33dc1e3f08005faa15321/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jimtcl: update config.guess / config.subPeter Korsgaard2017-11-081-0/+6
| | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/284/284876bd649cab26e5ecd696c03c71c077ea7411/ The build system 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>
* jimtcl: explicitly set --host / --buildPeter Korsgaard2017-11-051-0/+2
| | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/d13/d137680bf1c0ebfacef635cb2f0fc14524759143/ 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. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove trailing backslashRicardo Martincoski2017-04-061-1/+1
| | | | | | | | | | | Occurrences were searched using [1]: check-package --include-only TrailingBackslash $(find * -type f) and manually removed. [1] http://patchwork.ozlabs.org/patch/729669/ Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-2cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-2c is BSD-2-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jimtcl: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-221-1/+1
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jimtcl: fix sparc64 compileWaldemar Brodkorb2015-11-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | It is general safe to use -fPIC for all architectures. -fpic breaks sparc64 compile. Generally gcc just optimize position independent code for m68k, powerpc and sparc with -fpic. The size differences are minimal, f.e. for powerpc: text data bss dec hex filename 235983 5336 684 242003 3b153 output/target/usr/lib/libjim.0.75 236255 8456 684 245395 3be93 output/target/usr/lib/libjim.so.0.75 So instead of keeping special settings for sparc64 it would be better to always use -fPIC in general. Runtime tested on Qemu ARM, MIPS, PPC and SPARC64. Fixes: http://autobuild.buildroot.net/results/98f391ad13f22828c022f185c0166daabdb4c1ad/ [Peter: tweak comment as suggested by Thomas] Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jimtcl: fix broken symlinksWaldemar Brodkorb2015-11-261-2/+2
| | | | | | | | | The created symlinks are wrong. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: kill pointless text justificationGustavo Zacarias2015-04-231-1/+1
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/jimtcl: add hashBernd Kuhls2015-04-191-0/+2
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jimtcl: fix installation in BR2_STATIC_LIBS caseThomas Petazzoni2015-04-011-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | As noticed by Yann E. Morin in the review of http://patchwork.ozlabs.org/patch/429533/, there was something fishy in the jimtcl installation logic: ln -s libjim.$(JIMTCL_LIB) $(STAGING_DIR)/usr/lib/libjim.so where JIMTCL_LIB has the value 'a' for BR2_STATIC_LIBS=y builds. Which means we're linking libjim.so to libjim.a. Not great. This commit therefore reworks the installation logic of the jimtcl.mk package to install the shared library when BR2_STATIC_LIBS is not set, and the static library when BR2_STATIC_LIBS is enabled. The macro JIMTCL_INSTALL_LIB now takes as argument where the library should be installed, so that it can be used for both the target and staging installations. Note that we can only either build the shared library *or* the static library with the jimtcl build system. There is no possibility of building both. Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jimtcl: change the way of defining the JIMTCL_INSTALL_LIB variableJerzy Grzegorek2015-04-011-2/+3
| | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2015-01-151-3/+4
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* jimtcl: add error handling to for loopThomas Petazzoni2014-12-011-1/+1
| | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/jimtcl: bump to 0.75, move download URL to snapshot.debian.orgKaroly Kasza2014-10-251-6/+8
| | | | | Signed-off-by: Karoly Kasza <kaszak@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jimtcl: don't attempt to handle ccache internallyThomas De Schampheleire2014-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | jimtcl tries to use 'ccache' (a non-buildroot host version) which may not exist on the host system. If ccache is enabled in buildroot, the compiler used by jimtcl is: ccache <buildroot>/.../ccache <buildroot>/.../<tuple>-gcc If ccache is not present on the host, this results in the build error: ccache <buildroot>/.../ccache <buildroot>/.../<tuple>-gcc -D_GNU_SOURCE -Wall -I. -fpic -pipe -Os -c -o jim-subcmd.o jim-subcmd.c make[1]: ccache: Command not found This patch passes 'CCACHE=none' to the 'configure' script, disabling the internal handling of ccache, so that ccache can be transparently passed through CC. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jimtcl: define licensegilles.talis@gmail.com2013-07-101-0/+2
| | | | | Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jimtcl: New packageEzequiel Garcia2013-07-022-0/+72
Add new jimtcl package - a lightweight tclsh alternative. Useful for a lighter footprint usb_modeswitch installation. tclsh size is ~700kB for ARM compared to ~200kB for jimtcl. [Peter: wrap help text, fix file header] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud