]> code.ossystems Code Review - meta-freescale.git/commit
linux-imx.inc: move SUMMARY and DESCRIPTION from .inc to .bb's
authorMario Domenech Goulart <mario@ossystems.com.br>
Thu, 3 Apr 2014 18:52:45 +0000 (15:52 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 4 Apr 2014 13:09:46 +0000 (10:09 -0300)
commit307a33205341a2bd62bf489848b882b9210f1b69
tree9876a59febafc9355f32480ef7830f096bb3f4b6
parentcd0b199b643d55a7a32cf94fe8f0e80755c6aacd
linux-imx.inc: move SUMMARY and DESCRIPTION from .inc to .bb's

SUMMARY and DESCRIPTION should really go into recipes (.bb).  Setting
SUMMARY and DESCRIPTION in include files can easily cause recipes' to
be clobbered by the ones set in included files, since they are usually
set before including common files.

A typical example:

  $ cat some-common-file.inc

  DESCRIPTION = "I'll clobber your description"

  $ cat some-recipe.bb

  DESCRIPTION = "I'll get clobbered"

  include some-common-file.inc

Another problematic case is with regard to recipes that include
multiple common files that set SUMMARY and DESCRIPTION (the last
included ones will clobber the previous ones).

That's actually the expected behavior when we include files, but it's
slightly surprising in case of variables like SUMMARY and DESCRIPTION,
which usually are the first ones defined in recipe files (before
`include').

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-kernel/linux/linux-imx.inc
meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb
meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb