Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request)
@ 2011-10-10 21:13 Christopher Larson
  2011-10-10 21:13 ` [PATCH 1/2, v2] autotools: fix multi-word arguments for EXTRA_OECONF Christopher Larson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christopher Larson @ 2011-10-10 21:13 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 4732222c46652951e66aae377631f4a361179d8f:

  Fix sysprof for powerpc64 (2011-10-10 09:54:03 +0100)

are available in the git repository at:
  http://github.com/kergoth/oe-core misc-fixes

Christopher Larson (2):
  autotools: fix multi-word arguments for EXTRA_OECONF
  autoconf: no need to hardcode the full path to m4

 meta/classes/autotools.bbclass                  |    6 ++----
 meta/recipes-devtools/autoconf/autoconf_2.68.bb |    4 +++-
 2 files changed, 5 insertions(+), 5 deletions(-)

-- 
1.7.3.2.430.g208247




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

* [PATCH 1/2, v2] autotools: fix multi-word arguments for EXTRA_OECONF
  2011-10-10 21:13 [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request) Christopher Larson
@ 2011-10-10 21:13 ` Christopher Larson
  2011-10-10 21:13 ` [PATCH 2/2] autoconf: no need to hardcode the full path to m4 Christopher Larson
  2011-10-14 16:30 ` [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request) Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Christopher Larson @ 2011-10-10 21:13 UTC (permalink / raw)
  To: openembedded-core

This is needed to better support things like the following (with a
multi-word BUILD_CC):

    EXTRA_OECONF += '"ac_cv_prog_CC_FOR_BUILD=${BUILD_CC}"'

Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
 meta/classes/autotools.bbclass |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index a4ce851..937e2ba 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -71,10 +71,8 @@ CONFIGUREOPT_DEPTRACK = "--disable-dependency-tracking"
 
 oe_runconf () {
 	if [ -x ${S}/configure ] ; then
-		cfgcmd="${S}/configure \
-		${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
-		bbnote "Running $cfgcmd..."
-		$cfgcmd || bbfatal "oe_runconf failed" 
+		bbnote "Running ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
+		${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed"
 	else
 		bbfatal "no configure script found"
 	fi
-- 
1.7.3.2.430.g208247




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

* [PATCH 2/2] autoconf: no need to hardcode the full path to m4
  2011-10-10 21:13 [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request) Christopher Larson
  2011-10-10 21:13 ` [PATCH 1/2, v2] autotools: fix multi-word arguments for EXTRA_OECONF Christopher Larson
@ 2011-10-10 21:13 ` Christopher Larson
  2011-10-14 16:30 ` [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request) Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Christopher Larson @ 2011-10-10 21:13 UTC (permalink / raw)
  To: openembedded-core

This way autom4te uses m4 as it finds it in the PATH, rather than
hardcoding any particular path.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
 meta/recipes-devtools/autoconf/autoconf_2.68.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/autoconf/autoconf_2.68.bb b/meta/recipes-devtools/autoconf/autoconf_2.68.bb
index c6209a3..21b5fb3 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.68.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.68.bb
@@ -1,6 +1,6 @@
 require autoconf.inc
 
-PR = "r2"
+PR = "r3"
 
 PARALLEL_MAKE = ""
 
@@ -27,4 +27,6 @@ RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
 
 SRC_URI_append_virtclass-native = " file://fix_path_xtra.patch"
 
+EXTRA_OECONF += "ac_cv_path_M4=m4"
+
 BBCLASSEXTEND = "native"
-- 
1.7.3.2.430.g208247




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

* Re: [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request)
  2011-10-10 21:13 [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request) Christopher Larson
  2011-10-10 21:13 ` [PATCH 1/2, v2] autotools: fix multi-word arguments for EXTRA_OECONF Christopher Larson
  2011-10-10 21:13 ` [PATCH 2/2] autoconf: no need to hardcode the full path to m4 Christopher Larson
@ 2011-10-14 16:30 ` Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-10-14 16:30 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 10/10/2011 02:13 PM, Christopher Larson wrote:
> The following changes since commit 4732222c46652951e66aae377631f4a361179d8f:
>
>    Fix sysprof for powerpc64 (2011-10-10 09:54:03 +0100)
>
> are available in the git repository at:
>    http://github.com/kergoth/oe-core misc-fixes
>
> Christopher Larson (2):
>    autotools: fix multi-word arguments for EXTRA_OECONF
>    autoconf: no need to hardcode the full path to m4
>
>   meta/classes/autotools.bbclass                  |    6 ++----
>   meta/recipes-devtools/autoconf/autoconf_2.68.bb |    4 +++-
>   2 files changed, 5 insertions(+), 5 deletions(-)
>

Merged into OE-Core

Thanks
	Sau!





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

end of thread, other threads:[~2011-10-14 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-10 21:13 [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request) Christopher Larson
2011-10-10 21:13 ` [PATCH 1/2, v2] autotools: fix multi-word arguments for EXTRA_OECONF Christopher Larson
2011-10-10 21:13 ` [PATCH 2/2] autoconf: no need to hardcode the full path to m4 Christopher Larson
2011-10-14 16:30 ` [PATCH 0/2] Minor autoconf & autotools.bbclass fixes (supercedes previous misc fixes request) Saul Wold

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