diff options
-rw-r--r-- | meta/classes/multilib.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/multilib.conf | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 76cbac6d6a..f162293da2 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -7,6 +7,8 @@ python multilib_virtclass_handler () { | |||
7 | if cls != "multilib" or not variant: | 7 | if cls != "multilib" or not variant: |
8 | return | 8 | return |
9 | 9 | ||
10 | e.data.setVar('STAGING_KERNEL_DIR', e.data.getVar('STAGING_KERNEL_DIR', True)) | ||
11 | |||
10 | # There should only be one kernel in multilib configs | 12 | # There should only be one kernel in multilib configs |
11 | if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data): | 13 | if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data): |
12 | raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel") | 14 | raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel") |
diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf index ea5ed71a99..b22a4cb964 100644 --- a/meta/conf/multilib.conf +++ b/meta/conf/multilib.conf | |||
@@ -6,7 +6,6 @@ MULTILIB_SAVE_VARNAME = "DEFAULTTUNE" | |||
6 | 6 | ||
7 | MULTILIBS ??= "multilib:lib32" | 7 | MULTILIBS ??= "multilib:lib32" |
8 | 8 | ||
9 | STAGING_KERNEL_DIR := "${STAGING_KERNEL_DIR}" | ||
10 | STAGING_DIR_HOST = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" | 9 | STAGING_DIR_HOST = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" |
11 | STAGING_DIR_TARGET = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" | 10 | STAGING_DIR_TARGET = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" |
12 | 11 | ||