When ON, this enables the libbladeRF API and bladeRF utilities Doxygen
items.
OFF has been selected as the default for the time being, as some users
have been reporting issues in various (and generally "old") distros,
and this should avoid some bumps in the first-time fetch and build.
Where possible (and with contributor permission), items have been
changed to LGPLv2.1 or MIT licenses to avoid issues with any proprietary
libraries from vendors (HDL and FW), allow static linking (with headless
mode operation in mind), and to generally present users with more
permissive licenses.
File headers and the COPYING have been updated accordingly. Third party
sources have been either removed, replaced, or relocated in the source
tree, in accordance with the licenses decided upon for each part of the tree.
Contributor Assignment Agreements have been added, and it is required
that these be submitted before significant patches and pull requests
are accepted.
CMake option added to disable log.c for libbladeRF. Adjustments made
to other files as needed to address warnings (becoming errors via
-Werror and /Wx).
Removed return values for log-related functions, as these were unused
and made it slightly more annoying to make this change. The libbladeRF
minor version has been bumped to note this change in the currently
unstable series v0.x.x series.
With future license-related cleanup, all GPLv2 programs will live
in the utilities directory. As such, ezusb.c has been moved out
of the library, and the bladeRF-cli utility has been modified to
use this directly.
Most of these files had inaccurate copy-paste headers, as the files are
now vastly different than those mentioned. These will all just fall under
the "meta-data" category in upcoming licenses.
Per discussion with FindLibBladeRF.cmake author, the text in
FindLibTecla.cmake was unnecessary, and has been removed.
The fallback is required for GnuInstallDirs to work on Ubuntu systems
configured for CMAKE_INSTALL_PREFIX set to /usr/include.
Cleanup:
- Replaced LIB_INSTALL_DIR with CMAKE_INSTALL_LIBDIR
- Removed TODO and unused items
Everything except line 342 was changed. The PA enable bits in the LMS
documentation show bits [4:3] in the table, with bit 2 always being a 0.
I could change it for clarity, but the value being written matches the
table but not necessarily the bits.
The trailing semicolon in the ${files} list was causing CMake to
complain about the presence of an empty list element. As of CMake 2.6.0,
this results in the warning folks were seeing.