diff options
-rw-r--r-- | meta/classes/base.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/cross.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/crosssdk.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/native.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/nativesdk.bbclass | 1 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 3 |
7 files changed, 8 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 02e1ff5b74..a984eae5bc 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -1,4 +1,5 @@ | |||
1 | BB_DEFAULT_TASK ?= "build" | 1 | BB_DEFAULT_TASK ?= "build" |
2 | CLASSOVERRIDE ?= "class-target" | ||
2 | 3 | ||
3 | inherit patch | 4 | inherit patch |
4 | inherit staging | 5 | inherit staging |
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index bbf8f161fd..ed53118a2f 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass | |||
@@ -8,7 +8,7 @@ | |||
8 | # SDK packages are built either explicitly by the user, | 8 | # SDK packages are built either explicitly by the user, |
9 | # or indirectly via dependency. No need to be in 'world'. | 9 | # or indirectly via dependency. No need to be in 'world'. |
10 | EXCLUDE_FROM_WORLD = "1" | 10 | EXCLUDE_FROM_WORLD = "1" |
11 | 11 | CLASSOVERRIDE = "class-cross-canadian" | |
12 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}:${STAGING_DIR_NATIVE}${bindir_native}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 12 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}:${STAGING_DIR_NATIVE}${bindir_native}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" |
13 | 13 | ||
14 | # | 14 | # |
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 8da30483f4..e998307236 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -4,6 +4,7 @@ inherit relocatable | |||
4 | # no need for them to be a direct target of 'world' | 4 | # no need for them to be a direct target of 'world' |
5 | EXCLUDE_FROM_WORLD = "1" | 5 | EXCLUDE_FROM_WORLD = "1" |
6 | 6 | ||
7 | CLASSOVERRIDE = "class-cross" | ||
7 | PACKAGES = "" | 8 | PACKAGES = "" |
8 | PACKAGES_DYNAMIC = "" | 9 | PACKAGES_DYNAMIC = "" |
9 | PACKAGES_DYNAMIC_virtclass-native = "" | 10 | PACKAGES_DYNAMIC_virtclass-native = "" |
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass index 67df236b2c..93aba7022e 100644 --- a/meta/classes/crosssdk.bbclass +++ b/meta/classes/crosssdk.bbclass | |||
@@ -1,5 +1,6 @@ | |||
1 | inherit cross | 1 | inherit cross |
2 | 2 | ||
3 | CLASSOVERRIDE = "class-crosssdk" | ||
3 | PACKAGE_ARCH = "${SDK_ARCH}" | 4 | PACKAGE_ARCH = "${SDK_ARCH}" |
4 | python () { | 5 | python () { |
5 | # set TUNE_PKGARCH to SDK_ARCH | 6 | # set TUNE_PKGARCH to SDK_ARCH |
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index ffab971cbb..bca48d4637 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -97,6 +97,7 @@ PKG_CONFIG_SYSROOT_DIR = "" | |||
97 | 97 | ||
98 | # we dont want libc-uclibc or libc-glibc to kick in for native recipes | 98 | # we dont want libc-uclibc or libc-glibc to kick in for native recipes |
99 | LIBCOVERRIDE = "" | 99 | LIBCOVERRIDE = "" |
100 | CLASSOVERRIDE = "class-native" | ||
100 | 101 | ||
101 | PATH =. "${COREBASE}/scripts/native-intercept:" | 102 | PATH =. "${COREBASE}/scripts/native-intercept:" |
102 | 103 | ||
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 9e20834575..a58fce2040 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass | |||
@@ -8,6 +8,7 @@ STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${S | |||
8 | 8 | ||
9 | # we dont want libc-uclibc or libc-glibc to kick in for nativesdk recipes | 9 | # we dont want libc-uclibc or libc-glibc to kick in for nativesdk recipes |
10 | LIBCOVERRIDE = "" | 10 | LIBCOVERRIDE = "" |
11 | CLASSOVERRIDE = "class-nativesdk" | ||
11 | 12 | ||
12 | # | 13 | # |
13 | # Update PACKAGE_ARCH and PACKAGE_ARCHS | 14 | # Update PACKAGE_ARCH and PACKAGE_ARCHS |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 91fe070718..9f4e4d4449 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -637,7 +637,8 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}" | |||
637 | # | 637 | # |
638 | # This works for functions as well, they are really just environment variables. | 638 | # This works for functions as well, they are really just environment variables. |
639 | # Default OVERRIDES to make compilation fail fast in case of build system misconfiguration. | 639 | # Default OVERRIDES to make compilation fail fast in case of build system misconfiguration. |
640 | OVERRIDES = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable" | 640 | OVERRIDES = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${CLASSOVERRIDE}:forcevariable" |
641 | CLASSOVERRIDE ?= "class-target" | ||
641 | DISTROOVERRIDES ?= "${@d.getVar('DISTRO', True) or ''}" | 642 | DISTROOVERRIDES ?= "${@d.getVar('DISTRO', True) or ''}" |
642 | MACHINEOVERRIDES ?= "${MACHINE}" | 643 | MACHINEOVERRIDES ?= "${MACHINE}" |
643 | MACHINEOVERRIDES[vardepsexclude] = "MACHINE" | 644 | MACHINEOVERRIDES[vardepsexclude] = "MACHINE" |