From: Mario Domenech Goulart Date: Thu, 3 Apr 2014 18:52:45 +0000 (-0300) Subject: linux-imx.inc: move SUMMARY and DESCRIPTION from .inc to .bb's X-Git-Tag: 2.1~968 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=307a33205341a2bd62bf489848b882b9210f1b69;p=meta-freescale.git 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 Signed-off-by: Otavio Salvador --- diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc b/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc index f1f89b23..47566b08 100644 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc @@ -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" diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb b/meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb index f42c2c2d..be391791 100644 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb @@ -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 diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb b/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb index 03f8f7ab..f9a29690 100644 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb @@ -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