mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
iscsi-initiator-utils: check file existence before moving
Check the file existence before moving to avoid the error: | mv: cannot stat /<build_dir>/git/utils/fwparam_ibft/prom_lex.l: | No such file or directory Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
b55738ef8d
commit
5bb1957667
+3
-1
@@ -59,7 +59,9 @@ do_configure () {
|
||||
|
||||
do_compile () {
|
||||
# Make sure we DO NOT regenerate prom_lex.c.
|
||||
mv ${S}/utils/fwparam_ibft/prom_lex.l ${S}/utils/fwparam_ibft/prom_lex.l.unused
|
||||
if [ -f ${S}/utils/fwparam_ibft/prom_lex.l ]; then
|
||||
mv ${S}/utils/fwparam_ibft/prom_lex.l ${S}/utils/fwparam_ibft/prom_lex.l.unused
|
||||
fi
|
||||
oe_runmake -C ${S} ${EXTRA_OEMAKE} user
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user