[yocto] Questions about 'bitbake core-image-minimal'
Trevor Woerner
twoerner at gmail.com
Fri Aug 10 07:36:21 PDT 2012
On Thu, Aug 9, 2012 at 5:38 AM, ☆星空☆ <treebody at embedstudy.com> wrote:
> 1)I find some package like "automake, autoconf" existing on my host ,can I
> use "automake" which is already installed on my host rather than to do tasks
> to install (do_fetch,do_compile) and How .
The job of automake/automake is just to create the Makefiles which the
"make" utility can use to compile software; this is but one small
component in the overall task of cross-compiling software for an
embedded target. So your question would be similar to someone asking
"Why does Yocto have to build the software? Can't I just use wget and
download the sources myself?" Which you can, but once you're done you
still don't have anything you can use on your embedded device.
> 2)Why first do_fetch quilt-native ,where the dependency on native devtools
> things are from.
One of the many things making embedded cross-development complicated
is that everyone is free to use whatever version of whatever Linux
distribution they want on their host systems. As it turns out, the
small differences between distributions and (more importantly) the
different versions of the various tools used to do embedded
development on each of these system often leads to not being able to
successfully complete various tasks (of which there are many).
Therefore tools like OE or Yocto are smart in that they start off by
checking your host system and setting up a known-to-work set of native
tools which it then will use to perform the remainder of its tasks.
Where these dependencies are specifically being pulled in from I'm not
100% sure, but it's probably not too hard to find, and you wouldn't
want to disable them anyway.
One concrete example of this sort of issue is: recently it wasn't
possible to compile certain version of the Linux kernel using the
"make" utility version 3.82.
More information about the yocto
mailing list