summaryrefslogtreecommitdiffstats
path: root/package/libv4l
Commit message (Collapse)AuthorAgeFilesLines
* Introduce BR2_TOOLCHAIN_USES_{UCLIBC, GLIBC}Thomas Petazzoni2013-07-041-4/+4
| | | | | | | | | | | | | | | | | Currently, when we need to do a conditional on the type of C library used, we need to take into account the three toolchain backends. As we are going to add eglibc support to the Buildroot toolchain backend, it would become even uglier, so this patch introduces two new hidden options: BR2_TOOLCHAIN_USES_UCLIBC and BR2_TOOLCHAIN_USES_GLIBC, that exist regardless of the toolchain backend. The entire Buildroot code base is converted to use those options. Note that we have intentionally created only one option (BR2_TOOLCHAIN_USES_GLIBC) for both glibc and eglibc, since they are essentially the same, as far as Buildroot is concerned. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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>
* Fix package headers to comply with coding styleAlexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: needs thread supportThomas Petazzoni2013-05-281-2/+3
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/c74/c741ca445a63ce9ab8b0e5b87f3126d7b6051009/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: depends on jpeg so must select itArnout Vandecappelle (Essensium/Mind)2013-03-121-0/+1
| | | | | | | | | | Fixes http://autobuild.buildroot.net/results/3053854fccd65bc5b28384f2a2039a33abeeea47 The introduction of the error message for the jpeg virtual package exposes this kind of error. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: decode-tm6000 requires libv4l2utilThomas Petazzoni2012-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The decode-tm6000 utility cannot build without the libv4l2util. If this library is not available, the build breaks with: decode_tm6000.o: In function `read_stream': decode_tm6000.c:(.text+0x220): undefined reference to `v4l2_rcvbuf' decode_tm6000.o: In function `main': decode_tm6000.c:(.text+0x37c): undefined reference to `v4l2_open' decode_tm6000.c:(.text+0x3cc): undefined reference to `v4l2_gettryset_fmt_cap' decode_tm6000.c:(.text+0x424): undefined reference to `v4l2_getset_freq' decode_tm6000.c:(.text+0x47c): undefined reference to `v4l2_mmap_bufs' decode_tm6000.c:(.text+0x4a0): undefined reference to `v4l2_start_streaming' See http://autobuild.buildroot.org/results/207ed74d5e816309ef0dc82ecc8112b51788fdf6/build-end.log We fix this by adding util/libv4l2util to the list of directories to build when decode-tm6000 is enabled. The only other user of libv4l2util is another utility called qv4l2, for which Buildroot has no Config.in option, so we only handle the case of decode-tm6000 at the moment. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: properly error out when one of the make step failsThomas Petazzoni2012-10-141-3/+3
| | | | | | | | | | | | | | In libv4l.mk, if there are multiple elements in $(LIBV4L_DIRS_y), they are built in order, one after the other. However, our loop construct doesn't take into account the fact that we should error out if one of the steps failed. A good illustration is having BR2_PACKAGE_LIBV4L_DECODE_TM6000 and BR2_PACKAGE_LIBV4L_V4L2_CTL enabled. The build of decode-tm6000 will fail, but the build will happily continue without stopping in libv4l. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: bump versionPeter Korsgaard2012-10-111-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: ensure TARGET_CFLAGS are usedPeter Korsgaard2012-10-111-3/+3
| | | | | | | | Now that the lfs handling issues have been worked around, we can pass TARGET_CONFIGURE_OPTS on the make command line to ensure TARGET_CFLAGS are used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: fixup after CPPFLAGS additionPeter Korsgaard2012-10-111-0/+39
| | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/4602f7cf4407a2969a04267bbc5d276b076a7c91 The preload libraries needs to wrap both the lfs and !lfs variants, so ensure the lfs versions are not transparently used (as they are when _LARGEFILE_SOURCE / _FILE_OFFSET_BITS=64 are defined). This used to work by accident before, as our custom CFLAGS (containing those defines) wasn't used. 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>
* libv4l: bump versionPeter Korsgaard2012-01-221-1/+2
| | | | | | Jpeg decompression is now done using libjpeg. 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>
* libv4l: add options to install utilitesPeter Korsgaard2011-04-052-3/+66
| | | | | | | These have extra deps though (C++ for some, argp.h for others which is not available on uClibc). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: Add new package libv4lKlaus Schwarzkopf2011-04-042-0/+40
[Peter: move to hw section] Signed-off-by: Klaus Schwarzkopf <schwarzkopf@sensortherm.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>