User:Jlamorie

From Openembedded.org
Revision as of 15:21, 23 December 2008 by Laibsch (talk | contribs) (Definitions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OpenEmbedded Recipes

This is my log of trying to understand what each element of a .bb file is.

linux recipes

Definitions

SECTION - Top level package section. base, kernel, libs, x11, x11/utils. This appears to be similar to a bbclass. How is this used?

DESCRIPTION - Description of package to be built. I assume this shows up in the ipkg meta data.

LICENSE - GPL or other. How is this used?

DEPENDS - This package cannot be built/recipe not baked until the packages/recipes listed in DEPENDS have been built/baked.

PR - How is this used?

DEFAULT_PREFERENCE - How is this used?

COMPATIBLE_MACHINE - A machine as described in local.conf and with an appropriate config file in OE/conf/machine. How is this used?

SRC_URI - Some documentation available at berlios.de.

S - Source directory, I think.

FILES_kernel-image - The complete path of the final kernel-image in the destination filesystem.

OS - How is this used?

ARCH - How is this used?

KERNEL_IMAGETYPE - Filename of the image to be built. The exact name is dependent on the architecture. Could be one of the following.

  • vmlinux
  • image
  • uImage
  • bzImage
  • zImage
  • zImage.flash

KERNEL_OUTPUT - Where in the kernel build tree is the final image.

COMPATIBLE_HOST - How is this used?

Functions

do_configure() - Runs before X and after Y. In the case of building a kernel