diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2011-12-22 22:26:07 +0100 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2012-09-27 17:56:13 +0200 |
commit | 715aeefd2ecda62c6e74b7389e8da0a7d4369e15 (patch) | |
tree | 2f044214899dcf7c4ce2232e29ce4124f831197e | |
parent | 119830e5a930cf6e9fe53ce3daf8035ef53009a5 (diff) | |
download | openembedded-715aeefd2ecda62c6e74b7389e8da0a7d4369e15.tar.gz |
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@kernelconcepts.de>
-rw-r--r-- | recipes/pulseaudio/libatomics-ops/no-hexagon-h.patch | 10 | ||||
-rw-r--r-- | recipes/pulseaudio/libatomics-ops/sh4_enable_can_emu.diff | 10 | ||||
-rw-r--r-- | recipes/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 0000000000..6b74747d64 --- /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 0000000000..74e08863c0 --- /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 0000000000..10f5eed7a3 --- /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" |