* [pyro][PATCH] u-boot-mkimage: fix nativesdk build
[not found] <CAJTo0LZ85U2djZGW4rzK7uumBkutYb91yXY40irYyAVvCKOBRQ@mail.gmail.com>
@ 2017-07-04 15:32 ` Steffen Sledz
2017-07-04 22:08 ` Otavio Salvador
0 siblings, 1 reply; 8+ messages in thread
From: Steffen Sledz @ 2017-07-04 15:32 UTC (permalink / raw)
To: openembedded-core; +Cc: Max Krummenacher
From: Max Krummenacher <max.oss.09@gmail.com>
If building for nativesdk the wrong rss sysroot is used leading the
following error message.
| ERROR: oe_runmake failed
| In file included from tools/imximage.c:13:0:
| include/image.h:1024:27: fatal error: openssl/evp.h: No such file or directory
| # include <openssl/evp.h>
Tools needed on the build host (script/basic/fixdep) and code compiled
for the SDK machine are both built with the build host's compiler,
leading to additinal errors.
Adding CROSS_COMPILE="${HOST_PREFIX}" and using the cross-compiler for
the SDK_ARCH fixes the build error.
The resulting binary in the SDK is working.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-bsp/u-boot/u-boot-mkimage_2017.01.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2017.01.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2017.01.bb
index 1aa95e7c86..de999e7cd5 100644
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2017.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2017.01.bb
@@ -7,7 +7,7 @@ DEPENDS = "openssl"
EXTRA_OEMAKE_class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'
EXTRA_OEMAKE_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'
-EXTRA_OEMAKE_class-nativesdk = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'
+EXTRA_OEMAKE_class-nativesdk = 'CROSS_COMPILE="${HOST_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'
do_compile () {
oe_runmake sandbox_defconfig
--
2.13.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [pyro][PATCH] u-boot-mkimage: fix nativesdk build
2017-07-04 15:32 ` [pyro][PATCH] u-boot-mkimage: fix nativesdk build Steffen Sledz
@ 2017-07-04 22:08 ` Otavio Salvador
2017-07-04 22:11 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: Otavio Salvador @ 2017-07-04 22:08 UTC (permalink / raw)
To: Steffen Sledz
Cc: Max Krummenacher, Patches and discussions about the oe-core layer
On Tue, Jul 4, 2017 at 12:32 PM, Steffen Sledz <sledz@dresearch-fe.de> wrote:
> From: Max Krummenacher <max.oss.09@gmail.com>
>
> If building for nativesdk the wrong rss sysroot is used leading the
> following error message.
>
> | ERROR: oe_runmake failed
> | In file included from tools/imximage.c:13:0:
> | include/image.h:1024:27: fatal error: openssl/evp.h: No such file or directory
> | # include <openssl/evp.h>
>
> Tools needed on the build host (script/basic/fixdep) and code compiled
> for the SDK machine are both built with the build host's compiler,
> leading to additinal errors.
>
> Adding CROSS_COMPILE="${HOST_PREFIX}" and using the cross-compiler for
> the SDK_ARCH fixes the build error.
> The resulting binary in the SDK is working.
>
> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross, please apply it as it has been causing problems for many users.
It is applied in master
OE-Core:5d3df78367be0afbfe001b4fa776a98a82e6ce54
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [pyro][PATCH] u-boot-mkimage: fix nativesdk build
2017-07-04 22:08 ` Otavio Salvador
@ 2017-07-04 22:11 ` Burton, Ross
2017-07-04 22:16 ` Otavio Salvador
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2017-07-04 22:11 UTC (permalink / raw)
To: Otavio Salvador
Cc: Patches and discussions about the oe-core layer, Max Krummenacher
[-- Attachment #1: Type: text/plain, Size: 294 bytes --]
On 4 July 2017 at 23:08, Otavio Salvador <otavio.salvador@ossystems.com.br>
wrote:
> Ross, please apply it as it has been causing problems for many users.
> It is applied in master
> OE-Core:5d3df78367be0afbfe001b4fa776a98a82e6ce54
>
I would, but I'm not Pyro maintainer ...
Ross
[-- Attachment #2: Type: text/html, Size: 711 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [pyro][PATCH] u-boot-mkimage: fix nativesdk build
2017-07-04 22:11 ` Burton, Ross
@ 2017-07-04 22:16 ` Otavio Salvador
2017-07-04 23:17 ` Khem Raj
0 siblings, 1 reply; 8+ messages in thread
From: Otavio Salvador @ 2017-07-04 22:16 UTC (permalink / raw)
To: Burton, Ross
Cc: Max Krummenacher, Patches and discussions about the oe-core layer
On Tue, Jul 4, 2017 at 7:11 PM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 4 July 2017 at 23:08, Otavio Salvador <otavio.salvador@ossystems.com.br>
> wrote:
>>
>> Ross, please apply it as it has been causing problems for many users.
>> It is applied in master
>> OE-Core:5d3df78367be0afbfe001b4fa776a98a82e6ce54
>
> I would, but I'm not Pyro maintainer ...
Sorry, who is? I must have missed the announcement.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [pyro][PATCH] u-boot-mkimage: fix nativesdk build
2017-07-04 22:16 ` Otavio Salvador
@ 2017-07-04 23:17 ` Khem Raj
2017-07-05 12:52 ` Otavio Salvador
0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2017-07-04 23:17 UTC (permalink / raw)
To: Otavio Salvador
Cc: Max Krummenacher, Patches and discussions about the oe-core layer
On Tue, Jul 4, 2017 at 3:16 PM, Otavio Salvador
<otavio.salvador@ossystems.com.br> wrote:
> On Tue, Jul 4, 2017 at 7:11 PM, Burton, Ross <ross.burton@intel.com> wrote:
>>
>> On 4 July 2017 at 23:08, Otavio Salvador <otavio.salvador@ossystems.com.br>
>> wrote:
>>>
>>> Ross, please apply it as it has been causing problems for many users.
>>> It is applied in master
>>> OE-Core:5d3df78367be0afbfe001b4fa776a98a82e6ce54
>>
>> I would, but I'm not Pyro maintainer ...
>
> Sorry, who is? I must have missed the announcement.
Richard as of now see https://wiki.yoctoproject.org/wiki/Releases
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [pyro][PATCH] u-boot-mkimage: fix nativesdk build
2017-07-04 23:17 ` Khem Raj
@ 2017-07-05 12:52 ` Otavio Salvador
2017-07-05 12:59 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Otavio Salvador @ 2017-07-05 12:52 UTC (permalink / raw)
To: Khem Raj, Richard Purdie
Cc: Max Krummenacher, Patches and discussions about the oe-core layer
On Tue, Jul 4, 2017 at 8:17 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Tue, Jul 4, 2017 at 3:16 PM, Otavio Salvador
> <otavio.salvador@ossystems.com.br> wrote:
>> On Tue, Jul 4, 2017 at 7:11 PM, Burton, Ross <ross.burton@intel.com> wrote:
>>>
>>> On 4 July 2017 at 23:08, Otavio Salvador <otavio.salvador@ossystems.com.br>
>>> wrote:
>>>>
>>>> Ross, please apply it as it has been causing problems for many users.
>>>> It is applied in master
>>>> OE-Core:5d3df78367be0afbfe001b4fa776a98a82e6ce54
>>>
>>> I would, but I'm not Pyro maintainer ...
>>
>> Sorry, who is? I must have missed the announcement.
>
> Richard as of now see https://wiki.yoctoproject.org/wiki/Releases
Added RP on Cc.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [pyro][PATCH] u-boot-mkimage: fix nativesdk build
2017-07-05 12:52 ` Otavio Salvador
@ 2017-07-05 12:59 ` Richard Purdie
2017-07-05 13:01 ` Steffen Sledz
0 siblings, 1 reply; 8+ messages in thread
From: Richard Purdie @ 2017-07-05 12:59 UTC (permalink / raw)
To: Otavio Salvador, Khem Raj
Cc: Max Krummenacher, Patches and discussions about the oe-core layer
On Wed, 2017-07-05 at 09:52 -0300, Otavio Salvador wrote:
> On Tue, Jul 4, 2017 at 8:17 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Tue, Jul 4, 2017 at 3:16 PM, Otavio Salvador
> > <otavio.salvador@ossystems.com.br> wrote:
> > >
> > > On Tue, Jul 4, 2017 at 7:11 PM, Burton, Ross <ross.burton@intel.c
> > > om> wrote:
> > > >
> > > >
> > > > On 4 July 2017 at 23:08, Otavio Salvador <otavio.salvador@ossys
> > > > tems.com.br>
> > > > wrote:
> > > > >
> > > > >
> > > > > Ross, please apply it as it has been causing problems for
> > > > > many users.
> > > > > It is applied in master
> > > > > OE-Core:5d3df78367be0afbfe001b4fa776a98a82e6ce54
> > > > I would, but I'm not Pyro maintainer ...
> > > Sorry, who is? I must have missed the announcement.
> > Richard as of now see https://wiki.yoctoproject.org/wiki/Releases
> Added RP on Cc.
Its in the pyro-next branch.
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [pyro][PATCH] u-boot-mkimage: fix nativesdk build
2017-07-05 12:59 ` Richard Purdie
@ 2017-07-05 13:01 ` Steffen Sledz
0 siblings, 0 replies; 8+ messages in thread
From: Steffen Sledz @ 2017-07-05 13:01 UTC (permalink / raw)
To: Richard Purdie, Otavio Salvador, Khem Raj
Cc: Max Krummenacher, Patches and discussions about the oe-core layer
On 05.07.2017 14:59, Richard Purdie wrote:
> On Wed, 2017-07-05 at 09:52 -0300, Otavio Salvador wrote:
>> On Tue, Jul 4, 2017 at 8:17 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>
>>> On Tue, Jul 4, 2017 at 3:16 PM, Otavio Salvador
>>> <otavio.salvador@ossystems.com.br> wrote:
>>>>
>>>> On Tue, Jul 4, 2017 at 7:11 PM, Burton, Ross <ross.burton@intel.c
>>>> om> wrote:
>>>>>
>>>>>
>>>>> On 4 July 2017 at 23:08, Otavio Salvador <otavio.salvador@ossys
>>>>> tems.com.br>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Ross, please apply it as it has been causing problems for
>>>>>> many users.
>>>>>> It is applied in master
>>>>>> OE-Core:5d3df78367be0afbfe001b4fa776a98a82e6ce54
>>>>> I would, but I'm not Pyro maintainer ...
>>>> Sorry, who is? I must have missed the announcement.
>>> Richard as of now see https://wiki.yoctoproject.org/wiki/Releases
>> Added RP on Cc.
>
> Its in the pyro-next branch.
Any ideas when it will go to pyro itself?
--
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2017-07-05 13:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAJTo0LZ85U2djZGW4rzK7uumBkutYb91yXY40irYyAVvCKOBRQ@mail.gmail.com>
2017-07-04 15:32 ` [pyro][PATCH] u-boot-mkimage: fix nativesdk build Steffen Sledz
2017-07-04 22:08 ` Otavio Salvador
2017-07-04 22:11 ` Burton, Ross
2017-07-04 22:16 ` Otavio Salvador
2017-07-04 23:17 ` Khem Raj
2017-07-05 12:52 ` Otavio Salvador
2017-07-05 12:59 ` Richard Purdie
2017-07-05 13:01 ` Steffen Sledz
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.