diff options
Diffstat (limited to 'meta/classes/multimachine.bbclass')
| -rw-r--r-- | meta/classes/multimachine.bbclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/classes/multimachine.bbclass b/meta/classes/multimachine.bbclass index 0bd6abe419..4187a00ec3 100644 --- a/meta/classes/multimachine.bbclass +++ b/meta/classes/multimachine.bbclass | |||
| @@ -1,10 +1,11 @@ | |||
| 1 | STAMP = "${TMPDIR}/stamps/${MULTIMACH_ARCH}-${TARGET_OS}/${PF}" | 1 | STAMP = "${TMPDIR}/stamps/${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}/${PF}" |
| 2 | WORKDIR = "${TMPDIR}/work/${MULTIMACH_ARCH}-${TARGET_OS}/${PF}" | 2 | WORKDIR = "${TMPDIR}/work/${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}/${PF}" |
| 3 | STAGING_KERNEL_DIR = "${STAGING_DIR}/${MULTIMACH_ARCH}-${TARGET_OS}/kernel" | 3 | STAGING_KERNEL_DIR = "${STAGING_DIR}/${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel" |
| 4 | 4 | ||
| 5 | # Find any machine specific sub packages and if present, mark the | 5 | # Find any machine specific sub packages and if present, mark the |
| 6 | # whole package as machine specific for multimachine purposes. | 6 | # whole package as machine specific for multimachine purposes. |
| 7 | 7 | ||
| 8 | |||
| 8 | def multi_machine_after_parse(d): | 9 | def multi_machine_after_parse(d): |
| 9 | import bb | 10 | import bb |
| 10 | packages = bb.data.getVar('PACKAGES', d, 1).split() | 11 | packages = bb.data.getVar('PACKAGES', d, 1).split() |
| @@ -22,6 +23,7 @@ def multi_machine_after_parse(d): | |||
| 22 | 23 | ||
| 23 | bb.data.setVar('MULTIMACH_ARCH', multiarch, d) | 24 | bb.data.setVar('MULTIMACH_ARCH', multiarch, d) |
| 24 | 25 | ||
| 26 | |||
| 25 | python __anonymous () { | 27 | python __anonymous () { |
| 26 | multi_machine_after_parse(d) | 28 | multi_machine_after_parse(d) |
| 27 | } | 29 | } |
