iscsi-initiator-utils: do not regenerate prom_lex.c

prom_lex.c is provided in source.  If we try to remake
it from prom_lex.l, we will not find "lex" since it is
not in recipe-sysroot-native.  If we do manage to provide
lex, the new source will not compile.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Joe Slater 2017-06-15 10:22:05 -07:00 committed by Armin Kuster
parent b3ccebe546
commit 47545627ae

View File

@ -58,6 +58,8 @@ 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
oe_runmake -C ${S} ${EXTRA_OEMAKE} user
}