From: Martin Jansa <martin.jansa@gmail.com>
To: Yuanjie Huang <Yuanjie.Huang@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH V2] gcc-cross-initial: make dependency on gnu-config-native and autoconf-native explicit
Date: Fri, 27 Nov 2015 10:07:14 +0100 [thread overview]
Message-ID: <20151127090714.GA17303@jama> (raw)
In-Reply-To: <1448614232-18411-1-git-send-email-Yuanjie.Huang@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]
On Fri, Nov 27, 2015 at 04:50:32PM +0800, Yuanjie Huang wrote:
> From: Yuanjie Huang <yuanjie.huang@windriver.com>
>
> When a project is configure to use sstate cache and has the host tool sysroot
> cleaned, gcc-cross-initial may fail to be configured due to lack of
> gnu-configize tool.
>
> gcc-cross-initial recipe has autotools dependency inhibited, and the same flag
> variable also excludes the gnu-config-native. Though there is an indirect
> dependency through libmpc-native, it's not safe with sstate cache being used.
>
> Moreover, gnu-config-native requires a perl package from autoconf-native to
> run, otherwise it will fail with "Can't locate Autom4te/ChannelDefs.pm in @INC"
> message.
>
> This patch makes both dependencies explicit for gcc-cross-initial's
> configuration.
>
> Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
> ---
> meta/recipes-devtools/gcc/gcc-cross-initial.inc | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
> index 7197447..1cb341b 100644
> --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
> +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
> @@ -5,6 +5,9 @@ PACKAGES = ""
> INHIBIT_AUTOTOOLS_DEPS = "1"
> INHIBIT_DEFAULT_DEPS = "1"
>
> +# We still need gnu-config-native
> +DEPENDS_prepend = " gnu-config-native autoconf-native"
Trailing space not leading space..
> +
> PN = "gcc-cross-initial-${TARGET_ARCH}"
>
> CROSS_TARGET_SYS_DIR_append = ".${PN}"
> --
> 2.6.2
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
prev parent reply other threads:[~2015-11-27 9:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 8:50 [PATCH V2] gcc-cross-initial: make dependency on gnu-config-native and autoconf-native explicit Yuanjie Huang
2015-11-27 9:07 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151127090714.GA17303@jama \
--to=martin.jansa@gmail.com \
--cc=Yuanjie.Huang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox