Allow old build method with SPC_SRC variable.

This commit is contained in:
Markus Rosenstihl 2018-04-03 15:14:42 +02:00
parent b70d4e2127
commit 3c638b4b37

View File

@ -25,7 +25,11 @@ message("\nIf you have signed the NDA from Spectrum and got a kernel driver tarb
file(GLOB MILIST "drvsrc_all_V*.tgz" ) file(GLOB MILIST "drvsrc_all_V*.tgz" )
# sort and select last (alphabetic order) tarball driver # sort and select last (alphabetic order) tarball driver
list(SORT MILIST) list(SORT MILIST)
if(MILIST)
list(GET MILIST -1 MITGZ ) list(GET MILIST -1 MITGZ )
else()
set(MITGZ "non-existing-file")
endif()
#message(STATUS ${MITGZ}) #message(STATUS ${MITGZ})
if(EXISTS ${MITGZ}) if(EXISTS ${MITGZ})