From: Philip Balister <philip@balister.org>
To: Arpit Jain <jain.arpit6@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: Building own cmake based package using Yocto
Date: Mon, 03 Jun 2013 11:44:21 -0400 [thread overview]
Message-ID: <51ACB9D5.90908@balister.org> (raw)
In-Reply-To: <CAF_dhbe1mXEveAZz8V2LNPxcg55Ab_pQkyZM4hKcp7=a9PoM3w@mail.gmail.com>
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
>
prev parent reply other threads:[~2013-06-03 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-03 12:49 Building own cmake based package using Yocto Arpit Jain
2013-06-03 15:44 ` Philip Balister [this message]
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=51ACB9D5.90908@balister.org \
--to=philip@balister.org \
--cc=jain.arpit6@gmail.com \
--cc=yocto@yoctoproject.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.