iscsi-initiator-utils: do not regenerate prom_lex.c
PATCH 1/1 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 <[email protected]>
--- .../iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb +2 -0
@@ -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 }
Signature · 1 line
2.7.4
Quoted 4 lines · Joe Slater
prom_lex.cis 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.
what is diff between new and old src
Quoted 20 lines
Signed-off-by Joe Slater <[email protected]>--- .../iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb | 2 ++ 1 file changed, 2 insertions(+)meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb +2
-0@@ -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 }