[OE-core] [PATCH v2] u-boot.inc: Add host compiler flags and openssl-native dependency

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Sep 14 11:49:07 UTC 2015


On Mon, Sep 14, 2015 at 6:29 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
> On Fri, Sep 11, 2015 at 3:50 AM, Otavio Salvador
> <otavio.salvador at ossystems.com.br> wrote:
>> On Thu, Sep 10, 2015 at 7:24 AM, Nathan Rossi <nathan at 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 at 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_.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list