[yocto] New error in 1.7

peterengcomau001 at adam.com.au peterengcomau001 at adam.com.au
Tue Nov 25 08:13:17 PST 2014


 My original problem is that the image built in 1.6.1 does not build
in 1.7. Paul indicated this is probably because of the -foreign issue
as referred to in the reference manual Section 5.6.3 when upgrading. 
What I need to do is modify my recipe to include this. I understand
once I have modified the recipe I can generate a patch against the
original.
However, I still cannot identify the original change to the recipe
required to add this item.
I have added to the recipe
EXTRA_OECONF = " 'AM_INIT_AUTOMAKE([foreign]); "
Is this the correct change to the recipe to ensure the config.ac file
is updated so that any non-conformance with GNU guidelines is
overlooked?
I am still getting the original error error.
Do I need to add :do_config() {}and if so, what do I put in the
between the brackets? note that it looks like do_config is being run
already because that is what is generating the error
RegardsLachlan 

----- Original Message -----
From: "Anders Darander" 
To:"peterengcomau001 at adam.com.au" 
Cc:"Paul Eggleton" , "yocto at yoctoproject.org" 
Sent:Tue, 25 Nov 2014 13:56:41 +0100
Subject:Re: [yocto] New error in 1.7

 * peterengcomau001 at adam.com.au  [141125 13:44]:
 > This is new territory for me.
 > I have created the following patch
 > diff --git a/configure.ac b/configure.ac
 > --- a/configure.ac
 > +++ b/configure.ac
 > @@ -16 +16 @@ AC_CONFIG_SRCDIR([libop/op_config.h])
 > -AM_INIT_AUTOMAKE
 > +AM_INIT_AUTOMAKE([foreign])

 Yep, that's not really a valid patch file (at least not one that can
be
 applied.

 > Can you direct me to some information that describes the exact
syntax
 > for creating patches?

 If you want to do it by hand, look at the "Creating patches with
diff"
 section on http://jungels.net/articles/diff-patch-ten-minutes.html.

 If you think you might need to add multiple patches, rework them
etc.
 I'd recommend using git.

 Cheers,
 Anders

 -- 
 Anders Darander
 ChargeStorm AB / eStorm AB
 -- 
 _______________________________________________
 yocto mailing list
 yocto at yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141126/eadddd68/attachment.html>


More information about the yocto mailing list