mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
cmake(bugfix):no need to deleted products gen in binary dir
keeping intermediate products in the binary directory helps debugging Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
@@ -155,8 +155,6 @@ function(nuttx_add_romfs)
|
|||||||
copy_directory ${PATH} romfs_${NAME} \; fi
|
copy_directory ${PATH} romfs_${NAME} \; fi
|
||||||
COMMAND genromfs -f ${IMGNAME} -d romfs_${NAME} -V ${NAME}
|
COMMAND genromfs -f ${IMGNAME} -d romfs_${NAME} -V ${NAME}
|
||||||
COMMAND xxd -i ${IMGNAME} romfs_${NAME}.${EXTENSION}
|
COMMAND xxd -i ${IMGNAME} romfs_${NAME}.${EXTENSION}
|
||||||
COMMAND ${CMAKE_COMMAND} -E remove ${IMGNAME}
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E remove_directory romfs_${NAME}
|
|
||||||
COMMAND if ! [ -z "${NONCONST}" ]\; then sed -E -i'' -e
|
COMMAND if ! [ -z "${NONCONST}" ]\; then sed -E -i'' -e
|
||||||
"s/^unsigned/const unsigned/g" romfs_${NAME}.${EXTENSION} \; fi
|
"s/^unsigned/const unsigned/g" romfs_${NAME}.${EXTENSION} \; fi
|
||||||
DEPENDS ${DEPENDS})
|
DEPENDS ${DEPENDS})
|
||||||
|
|||||||
Reference in New Issue
Block a user