diff options
-rw-r--r-- | classes/base.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 8c92ed6f76..6686d2eab0 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -702,6 +702,8 @@ python () { if (old_arch == mach_arch): # Nothing to do return + if (bb.data.getVar('SRC_URI_OVERRIDES_PACKAGE_ARCH', d, 1) == '0'): + return paths = [] for p in [ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ]: paths.append(bb.data.expand(os.path.join(p, mach_arch), d)) |