Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-networking][PATCH 1/1] iscsi-initiator-utils: do not regenerate prom_lex.c
@ 2017-06-15 17:22 Joe Slater
  2017-06-16  6:05 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Slater @ 2017-06-15 17:22 UTC (permalink / raw)
  To: openembedded-devel

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>
---
 .../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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-networking][PATCH 1/1] iscsi-initiator-utils: do not regenerate prom_lex.c
  2017-06-15 17:22 [meta-networking][PATCH 1/1] iscsi-initiator-utils: do not regenerate prom_lex.c Joe Slater
@ 2017-06-16  6:05 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2017-06-16  6:05 UTC (permalink / raw)
  To: openembedded-devel


[-- Attachment #1.1: Type: text/plain, Size: 1182 bytes --]

On 6/15/17 10:22 AM, Joe Slater wrote:
> 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.


what is diff between new and old src
> 
> Signed-off-by: Joe Slater <jslater@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
>  }
>  
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-16  6:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-15 17:22 [meta-networking][PATCH 1/1] iscsi-initiator-utils: do not regenerate prom_lex.c Joe Slater
2017-06-16  6:05 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox