[oe-commits] Richard Purdie : package.bbclass: Exclude the PKGTRIPLETS variable

git at git.openembedded.org git at git.openembedded.org
Mon Oct 22 13:58:32 UTC 2012


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

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Oct 22 13:54:01 2012 +0000

package.bbclass: Exclude the PKGTRIPLETS variable

Without this, we'd rerun packaging for every machine since this variable contains
a machine specific component.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

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

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 76979bd..7544423 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1298,6 +1298,7 @@ def getshlibsdirs(d):
     for t in triplets:
         dirs.append("${TMPDIR}/pkgdata/" + t + "/shlibs/")
     return " ".join(dirs)
+getshlibsdirs[vardepsexclude] = "PKGTRIPLETS"
 
 SHLIBSDIRS = "${@getshlibsdirs(d)}"
 SHLIBSDIR = "${TMPDIR}/pkgdata/${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/shlibs"





More information about the Openembedded-commits mailing list