Allow old build method with SPC_SRC variable.
This commit is contained in:
parent
b70d4e2127
commit
3c638b4b37
@ -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})
|
||||||
|
Loading…
Reference in New Issue
Block a user