diff options
-rw-r--r-- | meta/conf/machine/include/arm/feature-arm-thumb.inc | 3 | ||||
-rw-r--r-- | meta/recipes-core/glibc/glibc-collateral.inc | 5 | ||||
-rw-r--r-- | meta/recipes-core/glibc/glibc.inc | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/meta/conf/machine/include/arm/feature-arm-thumb.inc b/meta/conf/machine/include/arm/feature-arm-thumb.inc index 0db5ec136a..9746c7bce7 100644 --- a/meta/conf/machine/include/arm/feature-arm-thumb.inc +++ b/meta/conf/machine/include/arm/feature-arm-thumb.inc | |||
@@ -32,7 +32,8 @@ python () { | |||
32 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}', '', d)}" | 32 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}', '', d)}" |
33 | OVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ':thumb', '', d)}" | 33 | OVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ':thumb', '', d)}" |
34 | 34 | ||
35 | ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '${ARM_THUMB_SUFFIX}', '', d)}" | 35 | # Add suffix from ARM_THUMB_SUFFIX only if after all this we still set ARM_M_OPT to thumb |
36 | ARMPKGSFX_THUMB .= "${@ d.getVar('ARM_THUMB_SUFFIX', True) if d.getVar('ARM_M_OPT', True) == 'thumb' else ''}" | ||
36 | 37 | ||
37 | # Whether to compile with code to allow interworking between the two | 38 | # Whether to compile with code to allow interworking between the two |
38 | # instruction sets. This allows thumb code to be executed on a primarily | 39 | # instruction sets. This allows thumb code to be executed on a primarily |
diff --git a/meta/recipes-core/glibc/glibc-collateral.inc b/meta/recipes-core/glibc/glibc-collateral.inc index 85e06da816..dfcebae388 100644 --- a/meta/recipes-core/glibc/glibc-collateral.inc +++ b/meta/recipes-core/glibc/glibc-collateral.inc | |||
@@ -2,6 +2,11 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
2 | LICENSE = "GPLv2 & LGPLv2.1" | 2 | LICENSE = "GPLv2 & LGPLv2.1" |
3 | HOMEPAGE = "http://www.gnu.org/software/libc/index.html" | 3 | HOMEPAGE = "http://www.gnu.org/software/libc/index.html" |
4 | 4 | ||
5 | # This needs to match with glibc.inc, otherwise glibc-scripts and glibc-locale | ||
6 | # will fail to find main glibc, for details see | ||
7 | # http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html | ||
8 | ARM_INSTRUCTION_SET = "arm" | ||
9 | |||
5 | do_fetch[noexec] = "1" | 10 | do_fetch[noexec] = "1" |
6 | do_unpack[noexec] = "1" | 11 | do_unpack[noexec] = "1" |
7 | do_patch[noexec] = "1" | 12 | do_patch[noexec] = "1" |
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index 767d4b8b5b..99a4753044 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc | |||
@@ -61,6 +61,9 @@ GLIBC_EXTRA_OECONF ?= "" | |||
61 | GLIBC_EXTRA_OECONF_class-nativesdk = "" | 61 | GLIBC_EXTRA_OECONF_class-nativesdk = "" |
62 | INHIBIT_DEFAULT_DEPS = "1" | 62 | INHIBIT_DEFAULT_DEPS = "1" |
63 | 63 | ||
64 | # This needs to match with glibc-collateral.inc, otherwise glibc-scripts and glibc-locale | ||
65 | # will fail to find main glibc, for details see | ||
66 | # http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html | ||
64 | ARM_INSTRUCTION_SET = "arm" | 67 | ARM_INSTRUCTION_SET = "arm" |
65 | 68 | ||
66 | # glibc uses PARALLELMFLAGS variable to pass parallel build info so transfer | 69 | # glibc uses PARALLELMFLAGS variable to pass parallel build info so transfer |