* Building own cmake based package using Yocto
@ 2013-06-03 12:49 Arpit Jain
2013-06-03 15:44 ` Philip Balister
0 siblings, 1 reply; 2+ messages in thread
From: Arpit Jain @ 2013-06-03 12:49 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]
Hi,
I am trying to build a CMake based package using Yocto on Linux (SUSE Linux
Enterprise Desktop 11 (x86_64)). I am trying to build (cross compile) for
PowerPC.
I have specified MACHINE as "qemuppc" in local.conf file before command
"bitbake -k core-image-minimal".
I have written a very simple recipe file to build my own package using
cmake.
The file is as simple as do configure()
{
cmake ..
}
When I run bitbake -b <recipe file>, the build configuration kicks off
and the package gets extracted.
To cross compile my package, it is picking the following
compiler "/home/arpit/yocto/poky-dylan-9.0.0/build/tmp/sysroots/x86_64-linux/usr/bin/ppc603e-poky-linux/powerpc-poky-linux-gcc",
which I suppose is correct.
However, following doubt I have:
1. The dependant libraries for package that it is picking has to be
for PowerPC, but is picking x86_64 libraries like NetSNMP, FUSE.
I guess these libraries should also be picked for PowerPC from Yocto
compiled sources.
Then the configuration stops with an error that "Sorry, could not find
ncurses library Please install it ".
Can you please suggest if I am doing something wrong.
Regards,
Arpit
[-- Attachment #2: Type: text/html, Size: 1546 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Building own cmake based package using Yocto
2013-06-03 12:49 Building own cmake based package using Yocto Arpit Jain
@ 2013-06-03 15:44 ` Philip Balister
0 siblings, 0 replies; 2+ messages in thread
From: Philip Balister @ 2013-06-03 15:44 UTC (permalink / raw)
To: Arpit Jain; +Cc: yocto
On 06/03/2013 08:49 AM, Arpit Jain wrote:
> Hi,
>
> I am trying to build a CMake based package using Yocto on Linux (SUSE Linux
> Enterprise Desktop 11 (x86_64)). I am trying to build (cross compile) for
> PowerPC.
Look at the cmake.bbclassfile. The gnuradio recipe in meta-oe uses this
class.
Philip
> I have specified MACHINE as "qemuppc" in local.conf file before command
> "bitbake -k core-image-minimal".
>
> I have written a very simple recipe file to build my own package using
> cmake.
>
> The file is as simple as do configure()
> {
> cmake ..
> }
>
> When I run bitbake -b <recipe file>, the build configuration kicks off
> and the package gets extracted.
>
> To cross compile my package, it is picking the following
> compiler "/home/arpit/yocto/poky-dylan-9.0.0/build/tmp/sysroots/x86_64-linux/usr/bin/ppc603e-poky-linux/powerpc-poky-linux-gcc",
> which I suppose is correct.
>
> However, following doubt I have:
> 1. The dependant libraries for package that it is picking has to be
> for PowerPC, but is picking x86_64 libraries like NetSNMP, FUSE.
> I guess these libraries should also be picked for PowerPC from Yocto
> compiled sources.
> Then the configuration stops with an error that "Sorry, could not find
> ncurses library Please install it ".
>
> Can you please suggest if I am doing something wrong.
>
> Regards,
> Arpit
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-03 15:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 12:49 Building own cmake based package using Yocto Arpit Jain
2013-06-03 15:44 ` Philip Balister
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.