diff options
| author | Ting Liu <ting.liu@freescale.com> | 2014-08-07 10:42:34 +0800 |
|---|---|---|
| committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2014-08-19 14:07:59 +0800 |
| commit | d953212ae5936a7d969d13801b0c2c1eb65cee6f (patch) | |
| tree | a40276b7fea8f32f9d3fec41e9d9840e4ef90f7c /conf | |
| parent | 3bfc2c1f6e73cf9ecd26a0f4598dffc0ce93ac43 (diff) | |
| download | meta-fsl-ppc-d953212ae5936a7d969d13801b0c2c1eb65cee6f.tar.gz | |
add layer-specific bbappends when that layer is included
setting BB_DANGLINGAPPENDS_WARNONLY forces the policy for all layers.
If the user is expecting dangling appends to be errors, this hides
potential problems from them.
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/layer.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 4a942e0..a4d4add 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
| @@ -11,5 +11,8 @@ BBFILE_PRIORITY_fsl-ppc = "5" | |||
| 11 | 11 | ||
| 12 | LICENSE_PATH += "${LAYERDIR}/custom-licenses" | 12 | LICENSE_PATH += "${LAYERDIR}/custom-licenses" |
| 13 | 13 | ||
| 14 | BB_DANGLINGAPPENDS_WARNONLY ?= "true" | 14 | # Let us add layer-specific bbappends which are only applied when that |
| 15 | # layer is included in our configuration | ||
| 16 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ | ||
| 17 | for layer in BBFILE_COLLECTIONS.split())}" | ||
| 15 | 18 | ||
