summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Zhou <li.zhou@windriver.com>2016-11-07 11:02:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-15 15:19:54 +0000
commitcbc59141807551a938e4b680ace0d05b8d826bb6 (patch)
tree705af90d58e339c03c62e5748d0dd848e796564e
parenta60304d4c815087e28753b179da3bda421622baa (diff)
downloadpoky-cbc59141807551a938e4b680ace0d05b8d826bb6.tar.gz
db: disable the ARM assembler mutex code
The swpb in macro MUTEX_SET will cause "undefined instruction" error on the new arm arches which don't support this assembly instruction any more. If use ldrex/strex to replace swpb, the old arm arches don't support them. So to avoid this issue, just disable the ARM assembler mutex code, and use the default pthreads mutex. (From OE-Core rev: aafbc548ebc66dc0d703526f9a98f784e9c9605b) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/db/db_6.0.35.bb9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/recipes-support/db/db_6.0.35.bb b/meta/recipes-support/db/db_6.0.35.bb
index f60edf9566..b1bec0e487 100644
--- a/meta/recipes-support/db/db_6.0.35.bb
+++ b/meta/recipes-support/db/db_6.0.35.bb
@@ -77,15 +77,6 @@ do_configure() {
77 oe_runconf 77 oe_runconf
78} 78}
79 79
80# Override the MUTEX setting here, the POSIX library is
81# the default - "POSIX/pthreads/library".
82# Don't ignore the nice SWP instruction on the ARM:
83# These enable the ARM assembler mutex code
84ARM_MUTEX = "--with-mutex=ARM/gcc-assembly"
85MUTEX = ""
86MUTEX_arm = "${ARM_MUTEX}"
87MUTEX_armeb = "${ARM_MUTEX}"
88EXTRA_OECONF += "${MUTEX}"
89EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" 80EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"
90EXTRA_OEMAKE += "STRIP=true docdir=${docdir}/db/" 81EXTRA_OEMAKE += "STRIP=true docdir=${docdir}/db/"
91 82