Re: Compiling a simple command
Nicolas Dechesne <nicolas.dechesne@...>
On Thu, Jun 20, 2013 at 6:08 PM, Paul D. DeRocco <pderocco@...> wrote:
here you are mixing a recipe for an image with a recipe for a 'package', and that's wrong. you have recipes for images, and recipes for packages. for package, bitbake will actually do the standard fetch/unpack/patch/configure/compile/package steps, but not for images. all images recipe inherit from image.bbclass, and if you check that file you can see that all 'normal package' tasks are disabled (toward the end of the file) so, while your recipe is indeed syntactically correct, the do_compile() and do_install() aren't never really called. you need to make a separate recipe for your package, e.g. fastuart_1.0.bb (and removes the 'require' at the beginning). then you can create your image recipe, and request your package to be installed in the image , you can do something like that:
require recipes-core/images/core-image-base.bb IMAGE_INSTALL += 'fastuart' |
|