Disable various UHD features

build_oai primarily builds UHD for OAI. Thus, a number of targets (B100,
USRP1/2, ...) can be omitted, as OAI does not run on them. Further,
disable documentation and man pages, which is typically not necessary
for the averages user, and does not need to be installed for containers.
This commit is contained in:
Robert Schmidt
2025-08-14 14:55:04 +02:00
parent 599a1a8c74
commit 47b658baf5
+1 -1
View File
@@ -231,7 +231,7 @@ install_usrp_uhd_driver_from_source(){
git diff
mkdir -p host/build
cd host/build || true
$CMAKE ../ -GNinja -DENABLE_TESTS=OFF -DENABLE_EXAMPLES=OFF
$CMAKE ../ -GNinja -DENABLE_TESTS=OFF -DENABLE_EXAMPLES=OFF -DENABLE_B100=OFF -DENABLE_DOXYGEN=OFF -DENABLE_MANUAL=OFF -DENABLE_MAN_PAGES=OFF -DENABLE_MAN_PAGE_COMPRESSION=OFF -DENABLE_OCTOCLOCK=ON -DENABLE_USRP1=OFF -DENABLE_USRP2=OFF
echo "Compiling UHD"
ninja
$SUDO ninja install