All of lore.kernel.org
 help / color / mirror / Atom feed
* understanding recipes
@ 2012-01-26 16:44 jfabernathy
  2012-01-26 16:48 ` Jack Mitchell
  2012-01-26 18:55 ` Scott Garman
  0 siblings, 2 replies; 19+ messages in thread
From: jfabernathy @ 2012-01-26 16:44 UTC (permalink / raw)
  To: yocto

I'm trying to understand the concept of creating a recipe and having it 
included in the build I do.

For example, suppose I want to create the meta-intel/meta-cedartrail BSP 
with the core-image-minimal image, but I wanted to include hello world 
as shown in 3.1.2 Autotooled Package section of the Poky reference Manual.

Where do I put the recipe file?  I'm guessing a recipe-jfa directory at 
the same level as the meta-cedartrail recipe-core, recipe-kernel, 
recipe-graphic, recipe-bsp?

I'm also assuming that helloworld.bb file would contain:

      DESCRIPTION = "GNU Helloworld application"
      SECTION = "examples"
      LICENSE = "GPLv2+"
      LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
      PR = "r0"

      SRC_URI = "${GNU_MIRROR}/hello/hello-${PV}.tar.gz"

      inherit autotools gettext


So where do the values of ${GNU_MIRROR|, and ${PV} get set correctly?

And what does the following line do or require me to do:

  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"

Is this all that is needed to get helloworld put into /usr/bin so it can 
be executed at the command line when the image is booted?

Jim A




^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-01-28 10:13 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-26 16:44 understanding recipes jfabernathy
2012-01-26 16:48 ` Jack Mitchell
2012-01-26 18:55 ` Scott Garman
2012-01-26 21:29   ` jfabernathy
2012-01-26 21:32   ` jfabernathy
2012-01-26 21:38     ` Scott Garman
2012-01-26 21:42       ` jfabernathy
2012-01-26 22:04       ` jfabernathy
2012-01-26 22:11         ` Scott Garman
2012-01-26 22:36           ` jfabernathy
2012-01-26 22:37           ` Gary Thomas
2012-01-26 23:44             ` jfabernathy
2012-01-26 23:52               ` Gary Thomas
2012-01-27  1:12                 ` jfabernathy
2012-01-27  1:20                   ` Saul Wold
2012-01-27  3:14                 ` Scott Garman
2012-01-27 18:43           ` Joshua Lock
2012-01-28  1:42             ` McClintock Matthew-B29882
2012-01-28 10:13               ` Gary Thomas

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.