another try to fix sed line
This commit is contained in:
parent
eeaec13198
commit
14f1cc90dd
@ -37,7 +37,7 @@ if(EXISTS ${MITGZ})
|
|||||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv
|
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv
|
||||||
COMMAND tar xfvz ${MITGZ}
|
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 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/-w" ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/Makefile
|
COMMAND sed -i "s/Wno-deprecated-declarations/w/" ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/Makefile
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
COMMENT "Unpacking Spectrum driver tarball"
|
COMMENT "Unpacking Spectrum driver tarball"
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
|
Loading…
Reference in New Issue
Block a user