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

Khem Raj raj.khem at gmail.com
Fri Jun 16 06:05:14 UTC 2017


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 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
>  }
>  
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20170615/db7c912a/attachment-0002.sig>


More information about the Openembedded-devel mailing list