Common mistakes in a recipe: Difference between revisions

From Openembedded.org
Jump to navigation Jump to search
No edit summary
(Undo revision 2418 by Johanna (Talk))
Line 8: Line 8:
kernel modules in RDEPENDS
kernel modules in RDEPENDS
: Never use RDEPENDS to drag kernel modules into an image, use RRECOMMENDS instead. The reason is that some devices can have those modules built-in into kernel.
: Never use RDEPENDS to drag kernel modules into an image, use RRECOMMENDS instead. The reason is that some devices can have those modules built-in into kernel.
More information on [http://www.writers.ph/ online writing]


[[Category:Dev]]
[[Category:Dev]]
[[Category:FAQ]]
[[Category:FAQ]]

Revision as of 05:43, 27 August 2010

This page should list common (!) mistakes when defining a recipe. a link or one sentence explaining what the problem is are a bonus. But keep it short!

(R)DEPENDS, etc.

libiconv in (R)DEPENDS

Use "virtual/libiconv" instead as glibc based systems already have libiconv functionality from glibc. Uclibc based systems will get it from "libiconv". By building libiconv in glibc build You risk a corrupted TMPDIR which will need to be restarted from scratch.

kernel modules in RDEPENDS

Never use RDEPENDS to drag kernel modules into an image, use RRECOMMENDS instead. The reason is that some devices can have those modules built-in into kernel.