mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-21 06:27:01 +00:00
Copy the GN3S v2 firmware binary file to the install folder if the variable GN3S_DRIVER is set.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@302 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
parent
a032dfaefd
commit
20f4b4ceea
@ -43,6 +43,12 @@ if($ENV{GN3S_DRIVER})
|
||||
set(OPT_LIBRARIES ${OPT_LIBRARIES} ${GRGN3S_LIBRARIES})
|
||||
set(OPT_DRIVER_INCLUDE_DIRS ${OPT_DRIVER_INCLUDE_DIRS} ${GRGN3S_INCLUDE_DIRS})
|
||||
set(OPT_DRIVER_SOURCES ${OPT_DRIVER_SOURCES} gn3s_signal_source.cc)
|
||||
|
||||
# Copy GN3S firmware binary file to install folder
|
||||
message(STATUS "Copying the GN3S firmware binary file to install folder")
|
||||
file(COPY ${CMAKE_SOURCE_DIR}/firmware/GN3S_v2/bin/gn3s_firmware.ihx
|
||||
DESTINATION ${CMAKE_SOURCE_DIR}/install/gn3s_firmware.ihx
|
||||
)
|
||||
endif($ENV{GN3S_DRIVER})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user