From 14f1cc90dd74b6e8caa942abc3fbd30d1c93ef29 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 29 May 2019 08:39:39 +0200 Subject: [PATCH] another try to fix sed line --- drivers/Spectrum-MI40xxSeries/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/Spectrum-MI40xxSeries/CMakeLists.txt b/drivers/Spectrum-MI40xxSeries/CMakeLists.txt index 7779054..820750a 100644 --- a/drivers/Spectrum-MI40xxSeries/CMakeLists.txt +++ b/drivers/Spectrum-MI40xxSeries/CMakeLists.txt @@ -37,7 +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/-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} COMMENT "Unpacking Spectrum driver tarball" VERBATIM)