This commit is contained in:
parent
922c33df57
commit
e4e765300d
@ -1,3 +1,6 @@
|
|||||||
|
if(DEFINED ENV{Q7S_SYSROOT})
|
||||||
|
set(ENV{Q7S_ROOTFS} $ENV{Q7S_SYSROOT})
|
||||||
|
endif()
|
||||||
# CROSS_COMPILE also needs to be set accordingly or passed to the CMake command
|
# CROSS_COMPILE also needs to be set accordingly or passed to the CMake command
|
||||||
if(NOT DEFINED ENV{Q7S_ROOTFS})
|
if(NOT DEFINED ENV{Q7S_ROOTFS})
|
||||||
# Sysroot has not been cached yet and was not set in environment either
|
# Sysroot has not been cached yet and was not set in environment either
|
||||||
@ -7,7 +10,7 @@ if(NOT DEFINED ENV{Q7S_ROOTFS})
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
set(SYSROOT_PATH "$ENV{Q7S_SYSROOT}" CACHE PATH "Q7S root filesystem path")
|
set(SYSROOT_PATH "$ENV{Q7S_ROOTFS}" CACHE PATH "Q7S root filesystem path")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED ENV{CROSS_COMPILE})
|
if(NOT DEFINED ENV{CROSS_COMPILE})
|
||||||
|
Loading…
Reference in New Issue
Block a user