uhd/mpm/python/usrp_mpm
Martin Braun 09d94529e5 cmake: Replace CMAKE_{SOURCE,BINARY}_DIR with UHD_*_DIR
See the CMake 3.8 documentation on these two variables:
https://cmake.org/cmake/help/v3.8/variable/PROJECT-NAME_SOURCE_DIR.html
https://cmake.org/cmake/help/v3.8/variable/CMAKE_SOURCE_DIR.html

Under normal circumstances, these two are identical. For sub-projects
(i.e., when building UHD as part of something else that is also a CMake
project), only the former is useful. There is no discernible downside of
using UHD_SOURCE_DIR over CMAKE_SOURCE_DIR.

This was changed using sed:

$ sed -i "s/CMAKE_SOURCE_DIR/UHD_SOURCE_DIR/g" \
    `ag -l CMAKE_SOURCE_DIR **/{CMakeLists.txt,*.cmake}`
$ sed -i "s/CMAKE_BINARY_DIR/UHD_BINARY_DIR/g" \
    `ag -l CMAKE_BINARY_DIR **/{CMakeLists.txt,*.cmake}`

At the same time, we also replace the CMake variable UHD_HOST_ROOT (used
in MPM) with UHD_SOURCE_DIR. There's no reason to have two variables
with the same meaning and different names, but more importantly, this
means that UHD_SOURCE_DIR is defined even in those cases where MPM calls
into CMake files from UHD without any additional patches.

Shoutout to GitHub user marcobergamin for bringing this up.
2021-09-10 15:08:10 -05:00
..
chips cmake: Replace CMAKE_{SOURCE,BINARY}_DIR with UHD_*_DIR 2021-09-10 15:08:10 -05:00
cores
dboard_manager N320: Reduce PLL lock time 2021-08-16 15:42:05 -05:00
periph_manager mpmd: Add discoverable feature for trig i/o mode 2021-09-02 13:34:02 -05:00
simulator sim: Move SelectableQueue and SendWrapper 2020-10-28 15:25:48 -05:00
sys_utils uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
xports sim: Lay Groundwork for Simulator 2020-10-07 15:29:19 -05:00
__init__.py.in sim: Lay Groundwork for Simulator 2020-10-07 15:29:19 -05:00
aurora_control.py
bfrfs.py
bist.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
CMakeLists.txt mpm: add tlv_eeprom 2021-05-31 05:28:47 -07:00
components.py mpm: Skip DTS compatibility check if DTS is not being updated. 2021-07-09 00:34:33 -07:00
discovery.py mpm: remove unnecessary imports 2021-05-20 14:57:47 -05:00
e31x_legacy_eeprom.py mpm: e31x: Accept FF terminated strings in eeprom 2020-09-04 11:38:27 -07:00
eeprom.py mpm: Add MB-EEPROMv3 2019-05-10 16:59:58 -07:00
ethdispatch.py mpm: Add support for internal Ethernet interface 2020-07-16 10:00:12 -05:00
fpga_bit_to_bin.py
gpsd_iface.py mpm: gpsd_iface: Make GPGGA generation more robust 2021-06-03 09:35:09 -05:00
mpmlog.py fixup! mpm: Use prefs API in logging module 2020-12-04 12:07:16 -08:00
mpmtypes.py mpm: add FPGA type to the info returned during discovery 2021-05-20 14:57:47 -05:00
mpmutils.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
prefs.py docs: Add comments on mpm.conf 2020-07-09 00:39:11 -07:00
process_manager.py sim: Integrate simulator into UHD 2020-10-28 15:25:48 -05:00
rpc_server.py mpm: Bump MPM compat version to 4.0 2021-06-24 13:52:15 -05:00
test_bfrfs.py
tlv_eeprom.py mpm: add tlv_eeprom 2021-05-31 05:28:47 -07:00
user_eeprom.py mpm: Factor out user EEPROM code into own module 2018-12-20 14:57:54 -08:00