All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Rossi <nathan@nathanrossi.com>
To: Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2] u-boot.inc: Add host compiler flags and openssl-native dependency
Date: Mon, 14 Sep 2015 22:05:16 +1000	[thread overview]
Message-ID: <CA+aJhH0vppTn6bA+EjVV=afUfS_EvLEvtjd6Lz7VO7toN6+Erg@mail.gmail.com> (raw)
In-Reply-To: <CAP9ODKpa9iFBdDfcRhkQbQFSAFqkkoojNRRvdvePNXO3EsBOoA@mail.gmail.com>

On Mon, Sep 14, 2015 at 9:49 PM, Otavio Salvador
<otavio.salvador@ossystems.com.br> wrote:
> On Mon, Sep 14, 2015 at 6:29 AM, Nathan Rossi <nathan@nathanrossi.com> wrote:
>> On Fri, Sep 11, 2015 at 3:50 AM, Otavio Salvador
>> <otavio.salvador@ossystems.com.br> wrote:
>>> On Thu, Sep 10, 2015 at 7:24 AM, Nathan Rossi <nathan@nathanrossi.com> wrote:
>>>> U-Boot will compile its own tools during the build, with specific
>>>> configurations (aka when CONFIG_FIT_SIGNATURE is enabled) the host tools
>>>> require openssl. This patch adds 'openssl' as a PACKAGECONFIG that
>>>> enables the use of openssl-native as a dependency and also adds the
>>>> HOSTCC flags that U-Boot uses when compiling the host tools.
>>>>
>>>> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
>>>
>>> Ideally we ought to ensure U-Boot stops to build the native part when
>>> doing the target one.
>>
>> Are you suggesting that the compile step (of the recipe) should build
>> the "tools"/native make target first, then execute the make target for
>> the rest afterwards as two separate steps?
>
> Two separated _recipes_.

Ah ok, to some degree that already exists with the u-boot-mkimage and
u-boot-fw-utils recipes. However the problem is that there is
currently no easy way (at least with mainline U-Boot) to get U-Boot to
use the tools provided by the host/sysroot/PATH instead of building
them.

Regards,
Nathan


  reply	other threads:[~2015-09-14 12:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 10:24 [PATCH v2] u-boot.inc: Add host compiler flags and openssl-native dependency Nathan Rossi
2015-09-10 17:50 ` Otavio Salvador
2015-09-14  9:29   ` Nathan Rossi
2015-09-14 11:49     ` Otavio Salvador
2015-09-14 12:05       ` Nathan Rossi [this message]
2015-09-14 12:59         ` Otavio Salvador

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='CA+aJhH0vppTn6bA+EjVV=afUfS_EvLEvtjd6Lz7VO7toN6+Erg@mail.gmail.com' \
    --to=nathan@nathanrossi.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=otavio.salvador@ossystems.com.br \
    /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.