summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 68089421f5..0b28850140 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -48,7 +48,8 @@ SSTATE_ARCHS = " \
48 ${SDK_ARCH}_${PACKAGE_ARCH} \ 48 ${SDK_ARCH}_${PACKAGE_ARCH} \
49 allarch \ 49 allarch \
50 ${PACKAGE_ARCH} \ 50 ${PACKAGE_ARCH} \
51 ${MACHINE}" 51 ${PACKAGE_EXTRA_ARCHS} \
52 ${MACHINE_ARCH}"
52 53
53SSTATE_MANMACH ?= "${SSTATE_PKGARCH}" 54SSTATE_MANMACH ?= "${SSTATE_PKGARCH}"
54 55
@@ -1026,7 +1027,7 @@ python sstate_eventhandler2() {
1026 with open(preservestampfile, 'r') as f: 1027 with open(preservestampfile, 'r') as f:
1027 preservestamps = f.readlines() 1028 preservestamps = f.readlines()
1028 seen = [] 1029 seen = []
1029 for a in d.getVar("SSTATE_ARCHS").split(): 1030 for a in sorted(list(set(d.getVar("SSTATE_ARCHS").split()))):
1030 toremove = [] 1031 toremove = []
1031 i = d.expand("${SSTATE_MANIFESTS}/index-" + a) 1032 i = d.expand("${SSTATE_MANIFESTS}/index-" + a)
1032 if not os.path.exists(i): 1033 if not os.path.exists(i):