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: 2015-4~11720 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=aebdffc93ba8446bbd4e20263f0f75d4d4460c47;p=openembedded-core.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 d4f95c1d9f..ee9bf052ae 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}"