[oe] [meta-networking][PATCH 1/1] iscsi-initiator-utils: do not regenerate prom_lex.c

Joe Slater jslater at windriver.com
Thu Jun 15 17:22:05 UTC 2017


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 at windriver.com>
---
 .../iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb              | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb
index 72a17b0..16ac199 100644
--- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb
+++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb
@@ -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
 }
 
-- 
2.7.4




More information about the Openembedded-devel mailing list