diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-05-30 10:15:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-03 23:46:07 +0100 |
commit | f2d53d15ecd1ab977c8fcc0f4852d38080925d04 (patch) | |
tree | 5daac5dd732d732592c7f7818ef2ef9f21675f16 | |
parent | 526350a831087a1b228321fffd8daf5dc360bdaa (diff) | |
download | poky-f2d53d15ecd1ab977c8fcc0f4852d38080925d04.tar.gz |
libatomic-ops: Upgrade to 7.6.0
Can compile in thumb1 and thumb2 modes now
AO_THUMB_GO_ARM, AO_THUMB_RESTORE_MODE are used
to guard swp instructions
Switch to github and use git for src_uri
(From OE-Core rev: 5d66e34f4be7dacf71251aefd303eb0fb721738e)
Signed-off-by: Khem Raj <raj.khem@gmail.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/libatomic-ops/libatomic-ops_7.4.4.bb | 32 | ||||
-rw-r--r-- | meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb | 20 |
2 files changed, 20 insertions, 32 deletions
diff --git a/meta/recipes-support/libatomic-ops/libatomic-ops_7.4.4.bb b/meta/recipes-support/libatomic-ops/libatomic-ops_7.4.4.bb deleted file mode 100644 index 930c1b8ed6..0000000000 --- a/meta/recipes-support/libatomic-ops/libatomic-ops_7.4.4.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | SUMMARY = "A library for atomic integer operations" | ||
2 | HOMEPAGE = "https://github.com/ivmai/libatomic_ops/" | ||
3 | SECTION = "optional" | ||
4 | PROVIDES += "libatomics-ops" | ||
5 | LICENSE = "GPLv2 & MIT" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
7 | file://doc/LICENSING.txt;md5=e00dd5c8ac03a14c5ae5225a4525fa2d \ | ||
8 | " | ||
9 | |||
10 | SRC_URI = "\ | ||
11 | http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-${PV}.tar.gz \ | ||
12 | file://0001-Add-initial-nios2-architecture-support.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "426d804baae12c372967a6d183e25af2" | ||
16 | SRC_URI[sha256sum] = "bf210a600dd1becbf7936dd2914cf5f5d3356046904848dcfd27d0c8b12b6f8f" | ||
17 | |||
18 | S = "${WORKDIR}/libatomic_ops-${PV}" | ||
19 | |||
20 | ALLOW_EMPTY_${PN} = "1" | ||
21 | |||
22 | ARM_INSTRUCTION_SET = "arm" | ||
23 | |||
24 | inherit autotools pkgconfig | ||
25 | |||
26 | do_install_append() { | ||
27 | # those contain only docs, not necessary for now. | ||
28 | install -m 0755 -d ${D}${docdir} | ||
29 | mv ${D}${datadir}/libatomic_ops ${D}${docdir}/${BPN} | ||
30 | } | ||
31 | |||
32 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb b/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb new file mode 100644 index 0000000000..4463d86c86 --- /dev/null +++ b/meta/recipes-support/libatomic-ops/libatomic-ops_7.6.0.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "A library for atomic integer operations" | ||
2 | HOMEPAGE = "https://github.com/ivmai/libatomic_ops/" | ||
3 | SECTION = "optional" | ||
4 | PROVIDES += "libatomics-ops" | ||
5 | LICENSE = "GPLv2 & MIT" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
7 | file://doc/LICENSING.txt;md5=e00dd5c8ac03a14c5ae5225a4525fa2d \ | ||
8 | " | ||
9 | PV .= "+git${SRCPV}" | ||
10 | |||
11 | SRCREV = "73c60c5ef1ed370111549ee5aab6d4020ba70ed4" | ||
12 | SRC_URI = "git://github.com/ivmai/libatomic_ops" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | ALLOW_EMPTY_${PN} = "1" | ||
17 | |||
18 | inherit autotools pkgconfig | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||