summaryrefslogtreecommitdiffstats
path: root/package/flex
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* flex: propagate m4 dependency on wcharThomas Petazzoni2013-05-281-0/+4
| | | | | | | | | | | | | | Commit fe6a9e5e9d4046173a60235f8fd9a3b4746929c6 missed the fact that m4 has a dependency on wide char support, so this dependency should be propagated to flex. Fixes: http://autobuild.buildroot.org/results/495/49502b2e33a346b2fcebf5e2da00af2661b54d6e/build-end.log [Peter: Note where wchar dep comes from, show comment if not available] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: fix autobuilder failuresThomas Petazzoni2013-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since fe6a9e5e9d (flex: needs M4 at runtime), the autobuilders have been producing a number of flex related build failures. They have been hard to track down, because even on the same machine, with the same Git commit ID and the same configuration, the failure could not be reproduced. However, a close inspection of flex's config.log file allowed to find out what the problem was. In its configure script, flex uses the host-flex to generate a minimal example, and find out the name of the output file of flex. When the M4 environment is passed when building the target flex, it also affects the *execution* of the host-flex, which tries to use /usr/bin/m4 (which doesn't exist in the autobuilder machines) instead of the one built in $(HOST_DIR)/usr/bin/m4. So generating the minimal example fails. And this is where what I could reproduce and what the autobuilders script produce differ: in my case, even though host-flex fails to run, it creates an empty lex.yy.c, which is enough to make the configure script happy. In the context of the autobuild scripts, this file is apparently not created at all, for an unknown reason, and this leads to the configure script to abort. The fix is to set ac_cv_path_M4. This will affect the default m4 used by the target flex, but it will not affect the m4 used by the host-flex. It allows the test made during the configure script to work properly, and therefore should fix the issue seen in the autobuilders. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: needs M4 at runtimeThomas Petazzoni2013-05-272-0/+3
| | | | | | | | | | | | For proper runtime execution, flex requires m4 to be installed. Passing a M4 variable at configure time is needed, otherwise flex on the target will try to use a 'm4' binary with a build machine path. Fixes bug #4988. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: only needs gettext if locale is selectedArnout Vandecappelle (Essensium/Mind)2013-05-072-1/+2
| | | | | | | | | Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: needs host-m4Thomas Petazzoni2013-03-241-2/+2
| | | | | | | | Fixes http://autobuild.buildroot.org/results/9f5c2ad2b3d268dd82985a3a386530a12e5681ef/build-end.log. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: bump to version 2.5.37Gustavo Zacarias2013-01-253-7/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: add license informationGustavo Zacarias2013-01-211-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: fix build for nommu systemsGustavo Zacarias2012-11-302-20/+10
| | | | | | | | | | | | The flex binary uses fork() so it breaks on !MMU builds. Since we usually don't require flex in the target and the common scenario is that we just want libfl in staging reverse the options so that BR2_PACKAGE_FLEX just builds and install libfl.a and change the LIBFL option to BR2_PACKAGE_FLEX_BINARY to install the binary in the target. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove all references to libintlThomas Petazzoni2012-09-201-2/+1
| | | | | | | | | | | | | | | From now on, packages only need to select the BR2_PACKAGE_GETTEXT option and depend on the 'gettext' package to get the necessary i18n libraries installed on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: remove BR2_PACKAGE_LIBINTL] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> CC: Samuel Martin <s.martin49@gmail.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>
* 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>
* flex: unbreak host build after auto-host-deps changePeter Korsgaard2012-01-181-0/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: bump to version 2.5.35-10 and cleanup styleGustavo Zacarias2011-11-112-11/+12
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | 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>
* flex: fix configure cache issue with BR2_NEEDS_GETTEXTPeter Korsgaard2010-07-261-0/+3
| | | | | | | | | Flex doesn't NEED gettext/libintl, but it's configure script checks for it, so make sure those a built before flex, otherwise flex will populate tgt-config.cache with invalid values, breaking the build of other packages needing it (like libglib2). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: bump patch versionJulien Boibessot2010-07-191-1/+1
| | | | | | | Version 9 is no more available on Debian FTP. Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: install in the staging directoryThomas Petazzoni2010-02-231-0/+1
| | | | | | | | | Flex contains a libfl.a directory, which programs for the target might link against. Therefore, we need to install flex to the staging directory. An example of such a program is gob2, which needs the yywrap() function, which is implemented by libfl. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* flex: add flex-host package (required by webkit)Lionel Landwerlin2010-01-271-0/+1
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: convert to autotools infrastructureLionel Landwerlin2010-01-271-106/+19
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: bump to 2.5.35Lionel Landwerlin2010-01-271-2/+2
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* flex: fix prog-ar patchLionel Landwerlin2010-01-271-12/+1
| | | | | | | | Could not apply when missing top level Makefile, which is also regenerated by the configure script. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* 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-2/+2
|
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-3/+3
|
* buildroot: remove trailing spacesPeter Korsgaard2008-08-041-1/+1
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* Added BR2_DEBIAN_MIRRORThomas Lundquist2007-12-271-1/+1
|
* Use /usr/lib instead of /lib for flexUlf Samuelsson2007-11-292-3/+3
|
* - cleanup and fixes (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-171-6/+12
|
* - semicolon touchup. No other changesBernhard Reutner-Fischer2007-08-221-1/+1
|
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer2007-08-211-1/+1
| | | | toolchain/*/*.mk */Makefile.in -l)
* - the TARGET_CONFIGURE_OPTS have to be passed after $(MAKE).Bernhard Reutner-Fischer2007-07-091-1/+1
| | | | Fixes build breakage as seen by Ulf et al.
* - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSBernhard Reutner-Fischer2007-06-271-2/+1
| | | | - use TARGET_CONFIGURE_ARGS where appropriate.
* fixup package LDFLAGS handlingEric Andersen2007-03-131-0/+1
|
* - some more CONFIG_UPDATEs by Haavard SkinnemoenBernhard Reutner-Fischer2007-03-071-0/+1
|
* new patch versionEric Andersen2007-02-031-1/+1
|
* - bump versionBernhard Reutner-Fischer2007-01-192-8/+38
|
* fixup a whole steaming pile of insanity. When packages are configured,Eric Andersen2007-01-141-0/+1
| | | | | | | | | | | | | they should be configured with --prefix=/usr and we then need to use make DESTDIR=$(STAGING_DIR) install to get things installed into the staging directory. The current situation for many packages, which use --prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled into the binary itself. This also adds in a pile of libtool fixups. Between broken pkgconfig, broken libtool handling, and broken --prefix settings, its a wonder things have worked as well as they have up till now. -Erik
* - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Bernhard Reutner-Fischer2006-10-011-1/+1
| | | | | | not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
* add option to install libfl.a per case 0000438David Anders2006-01-232-0/+14
|
* remove extra space after touchMike Frysinger2005-11-241-1/+1
|
* Change all instances of 'ln -sf' to 'ln -snf'Eric Andersen2005-04-151-1/+1
|
* There is no need to have a separate 'Makefile.in' file in theEric Andersen2005-02-102-3/+8
| | | | | general case, therefore, combine the toplevel Makefile options such as setting TARGETS into the per-package *.mk file
* merge help descriptions written by Tom CameronMike Frysinger2004-12-241-4/+4
|
* Add initial BR2_JLEVEL support, with some exceptions for apps thatEric Andersen2004-12-111-1/+1
| | | | have broken 'make -j' support
* fix uninstall target so it doesnt delete the *hosts* flex :xMike Frysinger2004-10-211-3/+18
|
* Make the TAR_VERBOSITY option a bit more saneEric Andersen2004-10-091-1/+1
|
* use $(TAR_VERBOSITY)Mike Frysinger2004-10-091-1/+1
|