diff options
author | Egor-Pomozov-AQ <52471563+Egor-Pomozov-AQ@users.noreply.github.com> | 2019-10-04 08:23:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-04 08:23:31 -0700 |
commit | 9010b364d1667be22fb2c9694bf775c320e33b7f (patch) | |
tree | 98a6e95770c45651923afa6dc5a13a3d9688f0f3 | |
parent | 7f0bd4e356f88093cb03a683dcc747088a7d2762 (diff) | |
download | Open-AVB-9010b364d1667be22fb2c9694bf775c320e33b7f.tar.gz |
Add missed file
Restore a file missed in during submission
-rw-r--r-- | lib/avtp_pipeline/platform/Linux/x86_aqc_linux.cmake | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/lib/avtp_pipeline/platform/Linux/x86_aqc_linux.cmake b/lib/avtp_pipeline/platform/Linux/x86_aqc_linux.cmake new file mode 100644 index 00000000..8be9aaf2 --- /dev/null +++ b/lib/avtp_pipeline/platform/Linux/x86_aqc_linux.cmake @@ -0,0 +1,52 @@ + +if (AVB_FEATURE_AVDECC) + set ( AVB_FEATURE_GSTREAMER 0 ) + set ( AVB_FEATURE_PCAP 0 ) + set ( AVB_FEATURE_IGB 0 ) + set ( AVB_FEATURE_ATL 0 ) +else () + set ( AVB_FEATURE_PCAP 1 ) + set ( AVB_FEATURE_ATL 1 ) + set ( AVB_FEATURE_IGB 0 ) + + set ( GSTREAMER_1_0 0 ) +endif () + + +# and another kernel sources +#set ( LINUX_KERNEL_DIR "/usr/src/kernel" ) + +# build configuration +set ( OPENAVB_HAL "x86_aqc" ) +set ( OPENAVB_OSAL "Linux" ) +set ( OPENAVB_TCAL "GNU" ) +set ( OPENAVB_PLATFORM "${OPENAVB_HAL}-${OPENAVB_OSAL}" ) + +# Platform Additions +set ( PLATFORM_INCLUDE_DIRECTORIES + ${CMAKE_SOURCE_DIR}/platform/x86_aqc/include +if (AVB_FEATURE_ATL) + ${CMAKE_SOURCE_DIR}/../atl_avb/lib +endif () + ${CMAKE_SOURCE_DIR}/openavb_common + ${CMAKE_SOURCE_DIR}/../../daemons/common + ${CMAKE_SOURCE_DIR}/../../daemons/mrpd + ${CMAKE_SOURCE_DIR}/../../daemons/maap/common +) + +if (AVB_FEATURE_ATL) + set ( PLATFORM_LINK_DIRECTORIES + ${CMAKE_SOURCE_DIR}/../atl_avb/lib + ) +endif () + +if (AVB_FEATURE_ATL) + set ( PLATFORM_LINK_LIBRARIES + atl + pci + ) +endif () + +# TODO_OPENAVB : need this? +# Set platform specific define +#set ( PLATFORM_DEFINE "AVB_DELAY_TWEAK_USEC=15" ) |