compile flag for jessie to not fail kernel module compile with date-error warning
This commit is contained in:
parent
3c638b4b37
commit
d28c83b76f
@ -37,6 +37,7 @@ if(EXISTS ${MITGZ})
|
||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv
|
||||
COMMAND tar xfvz ${MITGZ}
|
||||
COMMAND cp -v ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/makefile.kernel26 ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/Makefile
|
||||
COMMAND sed -i 's/-Wno-deprecated-declarations/Wno-deprecated-declarations -w' ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/Makefile
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMENT "Unpacking Spectrum driver tarball"
|
||||
VERBATIM)
|
||||
|
Loading…
Reference in New Issue
Block a user