[oe-commits] Florian Boor : libatomics-ops: Add 7.3+git from Debian

git at git.openembedded.org git at git.openembedded.org
Thu Sep 27 16:04:21 UTC 2012


Module: openembedded.git
Branch: master
Commit: 715aeefd2ecda62c6e74b7389e8da0a7d4369e15
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=715aeefd2ecda62c6e74b7389e8da0a7d4369e15

Author: Florian Boor <florian.boor at kernelconcepts.de>
Date:   Thu Dec 22 22:26:07 2011 +0100

libatomics-ops: Add 7.3+git from Debian

    Add new version used by Debian as well.
    Includes various fixes including SH4 support
    Required to build on SH4

Signed-off-by: Florian Boor <florian.boor at kernelconcepts.de>

---

 .../pulseaudio/libatomics-ops/no-hexagon-h.patch   |   10 +++++++
 .../libatomics-ops/sh4_enable_can_emu.diff         |   10 +++++++
 .../pulseaudio/libatomics-ops_7.3+git20111031.bb   |   27 ++++++++++++++++++++
 3 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/recipes/pulseaudio/libatomics-ops/no-hexagon-h.patch b/recipes/pulseaudio/libatomics-ops/no-hexagon-h.patch
new file mode 100644
index 0000000..6b74747
--- /dev/null
+++ b/recipes/pulseaudio/libatomics-ops/no-hexagon-h.patch
@@ -0,0 +1,10 @@
+--- a/src/Makefile.am~	2011-12-22 22:14:55.829779823 +0100
++++ b/src/Makefile.am	2011-12-22 22:15:14.353679720 +0100
+@@ -52,7 +52,6 @@
+           atomic_ops/sysdeps/gcc/arm.h \
+           atomic_ops/sysdeps/gcc/avr32.h \
+           atomic_ops/sysdeps/gcc/cris.h \
+-          atomic_ops/sysdeps/gcc/hexagon.h \
+           atomic_ops/sysdeps/gcc/hppa.h \
+           atomic_ops/sysdeps/gcc/ia64.h \
+           atomic_ops/sysdeps/gcc/m68k.h \
diff --git a/recipes/pulseaudio/libatomics-ops/sh4_enable_can_emu.diff b/recipes/pulseaudio/libatomics-ops/sh4_enable_can_emu.diff
new file mode 100644
index 0000000..74e0886
--- /dev/null
+++ b/recipes/pulseaudio/libatomics-ops/sh4_enable_can_emu.diff
@@ -0,0 +1,10 @@
+--- a/src/atomic_ops.hg	2010-01-21 04:45:04.000000000 +0000
++++ b/src/atomic_ops.h	2010-01-21 04:45:47.000000000 +0000
+@@ -243,6 +243,7 @@
+ # endif /* __mips__ */
+ # if defined(__sh__) || defined(SH4)
+ #   include "atomic_ops/sysdeps/gcc/sh.h"
++#   define AO_REQUIRE_CAS
+ #   define AO_CAN_EMUL_CAS
+ # endif /* __sh__ */
+ #endif /* __GNUC__ && !AO_USE_PTHREAD_DEFS */
diff --git a/recipes/pulseaudio/libatomics-ops_7.3+git20111031.bb b/recipes/pulseaudio/libatomics-ops_7.3+git20111031.bb
new file mode 100644
index 0000000..10f5eed
--- /dev/null
+++ b/recipes/pulseaudio/libatomics-ops_7.3+git20111031.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "A library for atomic integer operations"
+LICENSE = "MIT"
+
+PR = "r0"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/liba/libatomic-ops/libatomic-ops_7.3~alpha1+git20111031.orig.tar.gz \
+           ${DEBIAN_MIRROR}/main/liba/libatomic-ops/libatomic-ops_7.3~alpha1+git20111031-1.diff.gz;name=debpatch;apply=yes \
+           file://sh4_enable_can_emu.diff \
+           file://no-hexagon-h.patch"
+
+S = "${WORKDIR}/libatomic-ops-7.3~alpha1+git20111031"
+
+ARM_INSTRUCTION_SET = "arm"
+PARALLEL_MAKE = ""
+
+inherit autotools pkgconfig
+
+# Allow empty package to fix SDK depchains
+ALLOW_EMPTY_${PN} = "1"
+
+FILES_${PN}-doc += "${datadir}/libatomic_ops/COPYING ${datadir}/libatomic_ops/*.txt"
+
+SRC_URI[md5sum] = "8ea12aaabef30f17f7bc090f6a52b35c"
+SRC_URI[sha256sum] = "a115312c36e612dff7987011cee6e361e939ad62a6e52dd2aa323cc07127b1a6"
+
+SRC_URI[debpatch.md5sum] = "bd626ecf9666de31329c491cc30b406b"
+SRC_URI[debpatch.sha256sum] = "6cc045e68888c9d2fd9ddfad84015f02a8b91f91fb6f9764dfcb1a6af76be06f"





More information about the Openembedded-commits mailing list