]> code.ossystems Code Review - meta-freescale.git/commitdiff
layer.conf: avoid unnecessary early expansion with :=
authorChristopher Larson <chris_larson@mentor.com>
Tue, 19 Mar 2013 01:22:28 +0000 (01:22 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Tue, 26 Mar 2013 05:50:28 +0000 (13:50 +0800)
bitbake handles immediate expansions of LAYERDIR for us automatically.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
meta-fsl-ppc/conf/layer.conf

index ac08f27edf0e9468f8c21c24b5234eaa3938348e..ea7f02dde24364a786c71a271eb49b2d83d761ec 100644 (file)
@@ -1,11 +1,11 @@
 # We have a packages directory, add to BBFILES
-BBPATH := "${BBPATH}:${LAYERDIR}"
+BBPATH .= ":${LAYERDIR}"
 
 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb*"
 BBFILES += "${LAYERDIR}/images/*.bb*"
 
 BBFILE_COLLECTIONS += "fsl-ppc"
-BBFILE_PATTERN_fsl-ppc := "^${LAYERDIR}/"
+BBFILE_PATTERN_fsl-ppc = "^${LAYERDIR}/"
 BBFILE_PRIORITY_fsl-ppc = "5"
 
 BB_ENV_EXTRAWHITE := "KSRC USRC"