package.bbclass: Exclude the PKGTRIPLETS variable
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Oct 2012 13:54:01 +0000 (13:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Oct 2012 13:59:29 +0000 (14:59 +0100)
Without this, we'd rerun packaging for every machine since this variable contains
a machine specific component.

(From OE-Core rev: 61131828c59178c923b3d5b5fcacf0dbcba275a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass

index 76979bd..7544423 100644 (file)
@@ -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"