aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2017-06-15 10:22:05 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-06-28 10:28:35 -0400
commit61f1208d24e9d090adc3bbb9c7132c17383df9c3 (patch)
tree6cd2c7860c7d3365ce0329b764ebe5add8d2478e /meta-networking
parent88885fc01ae79543dc0fbd4d036a253f52d22ebb (diff)
downloadmeta-openembedded-contrib-61f1208d24e9d090adc3bbb9c7132c17383df9c3.tar.gz
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>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb2
1 files changed, 2 insertions, 0 deletions
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 72a17b03043..16ac1999268 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
}