• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/librtlsdr/librtlsdr.mk
Rahul BedarkarRahul Bedarkar committed af31c309e7330 Mar 2017
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# librtlsdr
4
#
5
################################################################################
6
​
7
LIBRTLSDR_VERSION = v0.5.3
8
LIBRTLSDR_SITE = $(call github,steve-m,librtlsdr,$(LIBRTLSDR_VERSION))
9
LIBRTLSDR_LICENSE = GPL-2.0+
10
LIBRTLSDR_LICENSE_FILES = COPYING
11
LIBRTLSDR_INSTALL_STAGING = YES
12
LIBRTLSDR_DEPENDENCIES = libusb
13
​
14
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
15
LIBRTLSDR_CONF_OPTS += -DINSTALL_UDEV_RULES=ON
16
endif
17
​
18
ifeq ($(BR2_PACKAGE_LIBRTLSDR_DETACH_DRIVER),y)
19
LIBRTLSDR_CONF_OPTS += -DDETACH_KERNEL_DRIVER=1
20
endif
21
​
22
# In case of static-lib-only builds, CMake's FindThreads.cmake code tries to
23
# get the right flags, checking first for -lpthreads, then -lpthread, and lastly
24
# for -pthread.
25
# The 2 first link checks fail because of undefined symbols: __libc_setup_tls.
26
# In the later check, CMake successfully compiles and links the test program,
27
# but it also tries to run it, which is wrong when cross-compiling.
28
#
29
# The following CMake variable only disables the TRY_RUN call in the -pthread
30
# test.
31
LIBRTLSDR_CONF_OPTS += -DTHREADS_PTHREAD_ARG=OFF
32
​
33
$(eval $(cmake-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.