- move following radios: AW2S, BladeRF, IRIS, LMSSDR, RFsimulator, USRP - move following transports: Ethernet, benetel4g, benetel5g - for each: create independent cmake variable to switch compilation on/off, in order: OAI_AW2S, OAI_BLADERF, OAI_IRIS, OAI_LMSSDR, OAI_SIMU, OAI_USRP, OAI_ETHERNET, OAI_BENETEL4G, OAI_BENETEL5G - Remove RF_BOARD variable, allows to compile multiple boards at once - where applicable: remove USERSPACE/LIB in path, i.e., move files up to directories, as all are userspace libraries Note that with the above, it is now mandatory to enable a radio implementation before compiling it, e.g., for USRP: ./build_oai -w USRP cmake .. -DOAI_USRP=ON && ninja oai_usrpdevif
35 lines
868 B
CMake
35 lines
868 B
CMake
add_boolean_option(OAI_AW2SORI OFF "Activate OAI's AW2S driver" OFF)
|
|
if(OAI_AW2SORI)
|
|
add_subdirectory(AW2SORI)
|
|
endif()
|
|
|
|
add_boolean_option(OAI_ETHERNET OFF "Activate OAI's Ethernet transport driver" OFF)
|
|
if(OAI_ETHERNET)
|
|
add_subdirectory(ETHERNET)
|
|
endif()
|
|
|
|
add_boolean_option(OAI_BLADERF OFF "Activate OAI's BladeRF driver" OFF)
|
|
if(OAI_BLADERF)
|
|
add_subdirectory(BLADERF)
|
|
endif()
|
|
|
|
add_boolean_option(OAI_IRIS OFF "Activate OAI's IRIS/SoapySDR driver" OFF)
|
|
if(OAI_IRIS)
|
|
add_subdirectory(IRIS)
|
|
endif()
|
|
|
|
add_boolean_option(OAI_LMSSDR OFF "Activate OAI's LimeSDR driver" OFF)
|
|
if(OAI_LMSSDR)
|
|
add_subdirectory(LMSSDR)
|
|
endif()
|
|
|
|
add_boolean_option(OAI_SIMU ON "Activate OAI's rfsimulator driver" OFF)
|
|
if(OAI_SIMU)
|
|
add_subdirectory(rfsimulator)
|
|
endif()
|
|
|
|
add_boolean_option(OAI_USRP OFF "Activate OAI's USRP driver" OFF)
|
|
if(OAI_USRP)
|
|
add_subdirectory(USRP)
|
|
endif()
|