File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,13 @@ genromfs -h 1>/dev/null 2>&1 || { \
57
57
58
58
# Now we are ready to make the ROMFS image
59
59
60
- genromfs -f ${romfsimg} -d ${fsdir} -V " NuttXBootVol" || { echo " genromfs failed" ; exit 1 ; }
60
+ genromfs -f ${romfsimg} -d ${fsdir} -V " NuttXBootVol" || \
61
+ { echo " genromfs failed" ; exit 1 ; }
61
62
62
63
# And, finally, create the header file
63
64
64
65
echo ' #include <nuttx/compiler.h>' > ${headerfile}
65
- xxd -i ${romfsimg} | sed ' s/^unsigned char/const unsigned char aligned_data(4)/g' >> ${headerfile} || \
66
+ xxd -i ${romfsimg} | sed -e ' s/^unsigned /const unsigned /' \
67
+ -e ' s/char /char aligned_data(4) /' >> ${headerfile} || \
66
68
{ echo " ERROR: xxd of $< failed" ; rm -f ${romfsimg} ; exit 1 ; }
67
69
rm -f ${romfsimg}
You can’t perform that action at this time.
0 commit comments