[oe] Getting Started -Makefile
rod at whitby.id.au
Tue Nov 20 00:51:24 CET 2007
Koen Kooi wrote:
> David Farning schreef:
>> $make setup
>> $make build-package-vim
> $deity just killed a few hundred kittens.
> At OEDEM we decided that we won't tolerate kindergarten-like,
> hand-holding wrappers around bitbake. Typing 'bitbake vim' isn't rocket
> science. To paraphrase Mickey: "If typing 'bitbake <foo>' is too hard,
> you shouldn't be using OE".
The challenge I put to yourself and a couple of other people from the OM
core team in IRC a couple of weeks or months ago still stands:
Show how you can use bitbake such that you can cd into a build area, and
type a *single* bitbake command to do a build, then cd into a different
build area (with a different distro and machine) and type a *single*
bitbake command to do a build there. No other commands are allowed.
At the moment, you need to set many environment variables before bitbake
can do it's job, and you need to reset them when you move into a
different area to do a different build. That's the reason why there are
makefile wrappers around simple bitbake commands.
If we can fix the underlying problem (needing to type more than one
command to build an image with bitbake), then I will fully support a
move to get rid of all bitbake wrappers from all the Makefiles that I
Instead of just saying that you won't tolerate something, how about
understanding *why* that something is done, and then work together to
improve the existing tools so that something no longer needs to be done
cause the tools already cover that use case.
More information about the Openembedded-devel