diff options
author | Phil Blundell <philb@gnu.org> | 2005-01-27 19:13:15 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2005-01-27 19:13:15 +0000 |
commit | a5669c1f9c38182f5a76cbde93dfc433a739009c (patch) | |
tree | 5d2b5c9f19a6f107ed3c98b260ec20bf648c3ba5 /classes/base.bbclass | |
parent | 8f06b6d2b68d7f173171474bb8cefd462f1298bf (diff) |
turn off SRC_URI-based PACKAGE_ARCH mangling if requested
BKrev: 41f93d4bA7UVxRqWKvjaoryoPbopfQ
Diffstat (limited to 'classes/base.bbclass')
-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)) |