All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: <anton.gerasimov@openmailbox.org>
Cc: meta-arago@arago-project.org
Subject: Re: Compiling with internal toolchain
Date: Wed, 2 Mar 2016 10:08:29 -0500	[thread overview]
Message-ID: <20160302150829.GB7505@edge> (raw)
In-Reply-To: <a997894609107b25e5d70de8ab1c2b34@openmailbox.org>

On Wed, Mar 02, 2016 at 05:01:17PM +0300, anton.gerasimov@openmailbox.org wrote:
> I'm trying to compile arago-test-image for varsomam33 machine and
> arago distro with internal toolchain. When bitbake reaches cmem_mod,

How do you select internal toolchain?


> I get the following error "make[3]: arm-oe-linuxeabi-gcc: Command
> not found".
> And arm-oe-linuxeabi-gcc is really not built, real target toolchain
> is called arm-oe-linux-gnueabi-gcc.
> After running bitbake -e I see that arm-oe-linuxeabi is the value of
> TOOLCHAIN_SYS:
> 
> # $TOOLCHAIN_SYS
> #   immediate /home/a-gerasimov/Yocto/meta-arago/meta-arago-distro/conf/distro/include/toolchain-gcc.inc:6
> #     "${TARGET_SYS}"
> TOOLCHAIN_SYS="arm-oe-linuxeabi"
> 
> But TARGET_SYS is set to arm-oe-linux-gnueabi:
> 
> # $TARGET_SYS [2 operations]
> #   set /home/a-gerasimov/Yocto/poky/meta/conf/bitbake.conf:118
> #     "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS',
> True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
> #   set /home/a-gerasimov/Yocto/poky/meta/conf/documentation.conf:415
> #     [doc] "The target system is comprised of
> TARGET_ARCH,TARGET_VENDOR and TARGET_OS."
> # pre-expansion value:
> #   "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS',
> True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
> TARGET_SYS="arm-oe-linux-gnueabi"
> 
> It seems that for some reason when toolchain-gcc.inc is included
> into distro/arago.conf, TARGET_SYS is set to some weird value, not
> the one that is set by bitbake.conf. Do you have any ideas about how
> that is possible and how it can be debugged.
> Thank you!
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2016-03-02 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 14:01 Compiling with internal toolchain anton.gerasimov
2016-03-02 15:08 ` Denys Dmytriyenko [this message]
2016-03-02 15:46   ` anton.gerasimov
2016-03-03 15:03     ` Denys Dmytriyenko

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=20160302150829.GB7505@edge \
    --to=denys@ti.com \
    --cc=anton.gerasimov@openmailbox.org \
    --cc=meta-arago@arago-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.