summaryrefslogtreecommitdiffstats
path: root/package/librtlsdr
Commit message (Collapse)AuthorAgeFilesLines
* librtlsdr: bump to version 0.6.0Fabrice Fontaine2018-08-283-70/+2
| | | | | | | | | Remove second patch (already in version even if PR has not been closed): see https://github.com/steve-m/librtlsdr/commit/9047eef701f50d8bc4748233a31d65a0519ed86c Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* librtlsdr: fix typo in LIBRTLSDR_CONF_OPTS variable nameThomas Petazzoni2018-06-151-1/+1
| | | | | | | | | | Commit 9ff035839eef68eb16e90ae70c3e70dc7f57ca5e ("librtlsdr: fix static build") introduced this obvious typo, which was spotted by check-package: package/librtlsdr/librtlsdr.mk:18: possible typo: LIBRTLSDRCONF_OPTS -> *LIBRTLSDR* Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* librtlsdr: fix static buildFabrice Fontaine2018-06-032-0/+114
| | | | | | | | | | | When bumping to version 0.5.4, first patch was wrongly removed. Put back an enhanced version of this patch (sent upstream) Fixes: - http://autobuild.buildroot.net/results/bea78bf580be6fe109b827b72af9587c5324daad Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* librtlsdr: bump to version v0.5.4Gwenhael Goavec-Merou2018-05-193-82/+4
| | | | | Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* librtlsdr: backport pull request to fix build with newer compilersGwenhael Goavec-Merou2017-07-151-0/+68
| | | | | | | | Fix: http://autobuild.buildroot.net/results/ece/ece557db739aaad9b53130a8ecb4d98f6f67aedf Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/l*/Config.in: fix ordering of statementsAdam Duskett2017-05-011-1/+1
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter l in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.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>
* librtlsdr: add .hash filePeter Korsgaard2016-06-161-0/+2
| | | | | | | | | | | | Fixes: http://autobuild.buildroot.org/results/2a0/2a0e3d64aa1a9a8aaf019c411377b2f4e3c51aae/ http://autobuild.buildroot.org/results/c81/c814311099ff930c961e637b843a8591e8826b75/ Similar to jquery-keyboard, it seems the librtlsdr tarball on the autobuilder is corrupt. Fix it by adding a .hash file so it falls back to our s.b.o mirror. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-031-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/librtlsdr: fix build failureSamuel Martin2014-12-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable run test for pthread detection. In case of build with only static library, CMake fails to detect the pthread library (-lpthread), so it falls back trying to link using -pthread and execute the test program. <snip> [...] -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Check if compiler accepts -pthread CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: THREADS_PTHREAD_ARG (advanced) For details see /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/TryRunResults.cmake -- Check if compiler accepts -pthread - no -- Found Threads: TRUE -- Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON -- Building with kernel driver detaching disabled, use -DDETACH_KERNEL_DRIVER=ON to enable -- Building for version: 0.5.3 / 0.5.3 -- Using install prefix: /usr -- Configuring incomplete, errors occurred! See also "/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeOutput.log". See also "/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeError.log". </snip> Here it fails because, in the CMake FindThreads.cmake file, the 'try_run' function is unconditionally called [1]. Also, the CMakeError.log gives more details why linking with -lpthread fails: <snip> [...] Run Build Command:"/usr/bin/make" "cmTryCompileExec3012181287/fast" make[1]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTryCompileExec3012181287.dir/build.make CMakeFiles/cmTryCompileExec3012181287.dir/build make[2]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_progress_report /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc -pipe -Os -static -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o -c /home/buildroot/instance-1/output/host/usr/share/cmake-3.0/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3012181287 /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3012181287.dir/link.txt --verbose=1 /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc -pipe -Os -static -DCHECK_FUNCTION_EXISTS=pthread_create -static CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o -o cmTryCompileExec3012181287 -rdynamic -lpthread -Wl,-Bstatic -lusb-1.0 -Wl,-Bdynamic /home/buildroot/instance-1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(init.os): In function `__pthread_initialize_minimal': init.c:(.text+0x270): undefined reference to `__libc_setup_tls' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec3012181287.dir/build.make:89: recipe for target 'cmTryCompileExec3012181287' failed make[2]: *** [cmTryCompileExec3012181287] Error 1 make[2]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' Makefile:118: recipe for target 'cmTryCompileExec3012181287/fast' failed make[1]: *** [cmTryCompileExec3012181287/fast] Error 2 make[1]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' Determining if compiler accepts -pthread returned PLEASE_FILL_OUT-FAILED_TO_RUN instead of 2. The compiler had the following output: Change Dir: /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTryCompileExec1361818630/fast" make[1]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTryCompileExec1361818630.dir/build.make CMakeFiles/cmTryCompileExec1361818630.dir/build make[2]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_progress_report /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc -pipe -Os -static -o CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o -c /home/buildroot/instance-1/output/host/usr/share/cmake-3.0/Modules/CheckForPthreads.c Linking C executable cmTryCompileExec1361818630 /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1361818630.dir/link.txt --verbose=1 /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc -pipe -Os -static -static CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o -o cmTryCompileExec1361818630 -rdynamic -pthread make[2]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' </snip> While falling back on -pthread is correct when using only static libraries to get some tls-related macros defined [2,3], it is wrong to try to run the test program in case of cross-compilation. So, this patch only disable run test when pthread support is done using -pthread, i.e. in case of the type of libraries is "static only". Fixes: http://autobuild.buildroot.org/results/26c/26cb8c2e5f867d49451f61304bf0a1a6f7b825d9/ [1] http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=a0bc4d133eb3f9d3ae096f0e03e419ef7be66ce8;hb=HEAD#l84 [2] http://lists.busybox.net/pipermail/buildroot/2014-June/100690.html [3] http://stackoverflow.com/questions/23250863/difference-between-pthread-and-lpthread-while-compiling Signed-off-by: Samuel Martin <s.martin49@gmail.com> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-2/+2
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* librtlsdr: disable shared library targetYuvaraj Patil2014-10-011-0/+80
| | | | | | | | | | | Disable shared library target if BUILD_SHARES_LIBS is OFF. Fixes: http://autobuild.buildroot.net/results/d68/d68a23e2a57fd5430d74b8151931f36959d9578d// Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: normalize separator size to 80Jerzy Grzegorek2014-09-251-2/+2
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* librtlsdr: new packageJason Pruitt2014-07-082-0/+46
librtlsdr is a library and software for using a Realtek RTL2832U based DVB-T dongle as a cheap SDR. [Thomas: change license to GPLv2+, reword help text for the detach driver option.] Signed-off-by: Jason Pruitt <jrspruitt@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud