Patchwork autotools.bbclass: Allow dependency tracking option to be easily overridden

login
register
mail settings
Submitter Richard Purdie
Date Oct. 4, 2011, 12:38 p.m.
Message ID <1317731939.14671.36.camel@ted>
Download mbox | patch
Permalink /patch/12739/
State New, archived
Headers show

Comments

Richard Purdie - Oct. 4, 2011, 12:38 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
Khem Raj - Oct. 4, 2011, 4:09 p.m.
On 10/4/2011 5:38 AM, Richard Purdie wrote:
> Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
> ---
> diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
> index ff27842..a4ce851 100644
> --- a/meta/classes/autotools.bbclass
> +++ b/meta/classes/autotools.bbclass
> @@ -64,8 +64,10 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
>   		  --infodir=${infodir} \
>   		  --mandir=${mandir} \
>   		  --disable-silent-rules \
> -		  --disable-dependency-tracking \
> +		  ${CONFIGUREOPT_DEPTRACK} \
>   		  ${@append_libtool_sysroot(d)}"
> +CONFIGUREOPT_DEPTRACK = "--disable-dependency-tracking"
> +
>

I think this would need to be documented somewhere as well.

>   oe_runconf () {
>   	if [ -x ${S}/configure ] ; then
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index ff27842..a4ce851 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -64,8 +64,10 @@  CONFIGUREOPTS = " --build=${BUILD_SYS} \
 		  --infodir=${infodir} \
 		  --mandir=${mandir} \
 		  --disable-silent-rules \
-		  --disable-dependency-tracking \
+		  ${CONFIGUREOPT_DEPTRACK} \
 		  ${@append_libtool_sysroot(d)}"
+CONFIGUREOPT_DEPTRACK = "--disable-dependency-tracking"
+
 
 oe_runconf () {
 	if [ -x ${S}/configure ] ; then