From: Martin Jansa Date: Thu, 23 Feb 2012 15:50:25 +0000 (+0100) Subject: sstate.bbclass: add *_config to SSTATE_SCAN_FILES X-Git-Tag: yocto-4.0~38101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aebdffc93ba8446bbd4e20263f0f75d4d4460c47;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sstate.bbclass: add *_config to SSTATE_SCAN_FILES * e.g. mysql5 has mysql_config not mysql-config Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index d4f95c1d9f7..ee9bf052ae7 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -10,7 +10,7 @@ SSTATE_PKGSPEC = "sstate-${PN}-${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}-$ SSTATE_PKGNAME = "${SSTATE_PKGSPEC}${BB_TASKHASH}" SSTATE_PKG = "${SSTATE_DIR}/${SSTATE_PKGNAME}" -SSTATE_SCAN_FILES ?= "*.la *-config" +SSTATE_SCAN_FILES ?= "*.la *-config *_config" SSTATE_SCAN_CMD ?= 'find ${SSTATE_BUILDDIR} \( -name "${@"\" -o -name \"".join(d.getVar("SSTATE_SCAN_FILES", True).split())}" \) -type f' BB_HASHFILENAME = "${SSTATE_PKGNAME}"