]> code.ossystems Code Review - meta-freescale.git/commitdiff
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)
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

index f1f89b238e91404ffb5daa9f2c51ccc1fd278280..47566b08c8f5d5c4c677cc15174aca391838a25a 100644 (file)
@@ -1,9 +1,6 @@
 # Copyright (C) 2012, 2014 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
-SUMMARY = "Linux Kernel provided and supported by Freescale"
-DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \
-i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU."
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
index f42c2c2d7897c837e4663c008366bdb9dc4571ea..be391791fd61d5589092aacb08ad9915a1ba5f59 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright (C) 2011-2013 Freescale Semiconductor
 # Released under the MIT license (see COPYING.MIT for the terms)
 
+SUMMARY = "Linux Kernel provided and supported by Freescale"
+DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \
+i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU."
+
 PR = "r45"
 
 include linux-imx.inc
index 03f8f7ab2e38e87e9c7a178148a4270079c67ac0..f9a296902b883667f5e27c98452d8a51c9ef2041 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright (C) 2013, 2014 Freescale Semiconductor
 # Released under the MIT license (see COPYING.MIT for the terms)
 
+SUMMARY = "Linux Kernel provided and supported by Freescale"
+DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \
+i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU."
+
 require recipes-kernel/linux/linux-imx.inc
 require recipes-kernel/linux/linux-dtb.inc