[oe-commits] Martin Jansa : sstate.bbclass: add *_config to SSTATE_SCAN_FILES

git at git.openembedded.org git at git.openembedded.org
Thu Feb 23 23:54:58 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: aebdffc93ba8446bbd4e20263f0f75d4d4460c47
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=aebdffc93ba8446bbd4e20263f0f75d4d4460c47

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Thu Feb 23 16:50:25 2012 +0100

sstate.bbclass: add *_config to SSTATE_SCAN_FILES

* e.g. mysql5 has mysql_config not mysql-config

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/sstate.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index d4f95c1..ee9bf05 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}"





More information about the Openembedded-commits mailing list