only include lxiphos when building for q7s
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
This commit is contained in:
parent
33b250562b
commit
253e2731bd
@ -205,10 +205,6 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
|||||||
set(COMPILER_FLAGS "/permissive-")
|
set(COMPILER_FLAGS "/permissive-")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TGT_BSP MATCHES "arm/q7s")
|
|
||||||
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -lxiphos)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (NOT(TGT_BSP MATCHES "arm/te0720-1cfa"))
|
if (NOT(TGT_BSP MATCHES "arm/te0720-1cfa"))
|
||||||
# Not installed, so use FetchContent to download and provide Catch2
|
# Not installed, so use FetchContent to download and provide Catch2
|
||||||
if(NOT Catch2_FOUND)
|
if(NOT Catch2_FOUND)
|
||||||
|
@ -13,12 +13,12 @@
|
|||||||
#include "bsp_q7s/callbacks/pcduSwitchCb.h"
|
#include "bsp_q7s/callbacks/pcduSwitchCb.h"
|
||||||
#include "bsp_q7s/callbacks/rwSpiCallback.h"
|
#include "bsp_q7s/callbacks/rwSpiCallback.h"
|
||||||
#include "bsp_q7s/core/CoreController.h"
|
#include "bsp_q7s/core/CoreController.h"
|
||||||
#include "bsp_q7s/devices/ploc/PlocMemoryDumper.h"
|
#include "linux/devices/ploc/PlocMemoryDumper.h"
|
||||||
#include "bsp_q7s/devices/ploc/PlocSupervisorHandler.h"
|
#include "linux/devices/ploc/PlocSupervisorHandler.h"
|
||||||
#include "bsp_q7s/devices/ploc/PlocUpdater.h"
|
#include "linux/devices/ploc/PlocUpdater.h"
|
||||||
#include "bsp_q7s/devices/ploc/PlocMPSoCHandler.h"
|
#include "linux/devices/ploc/PlocMPSoCHandler.h"
|
||||||
#include "bsp_q7s/devices/ploc/PlocMPSoCHelper.h"
|
#include "linux/devices/ploc/PlocMPSoCHelper.h"
|
||||||
#include "bsp_q7s/devices/devicedefinitions/PlocMPSoCDefinitions.h"
|
#include "linux/devices/devicedefinitions/PlocMPSoCDefinitions.h"
|
||||||
#include "bsp_q7s/memory/FileSystemHandler.h"
|
#include "bsp_q7s/memory/FileSystemHandler.h"
|
||||||
#include "busConf.h"
|
#include "busConf.h"
|
||||||
#include "ccsdsConfig.h"
|
#include "ccsdsConfig.h"
|
||||||
|
@ -89,6 +89,10 @@ set(C_FLAGS
|
|||||||
-lgpiod
|
-lgpiod
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (TGT_BSP MATCHES "arm/q7s")
|
||||||
|
set(C_FLAGS ${C_FLAGS} -lxiphos)
|
||||||
|
endif()
|
||||||
|
|
||||||
string (REPLACE ";" " " C_FLAGS "${C_FLAGS}")
|
string (REPLACE ";" " " C_FLAGS "${C_FLAGS}")
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS
|
set(CMAKE_C_FLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user