diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-05-24 22:35:24 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-05-24 22:35:24 +0300 |
commit | 0e0df451ae365f09d5c0c766b253f23de26901f2 (patch) | |
tree | db4d7d3ce85e02ee01ad58a86ede02ac876aae77 /poky/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb | |
parent | e370fd750e2821620ec427f26f8efab0069824ff (diff) | |
parent | 7e10dee74964afa47859704886128dd256acf854 (diff) | |
download | openbmc-0e0df451ae365f09d5c0c766b253f23de26901f2.tar.xz |
Merge tag '0.52' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'poky/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb')
-rw-r--r-- | poky/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/poky/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb b/poky/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb index 882a89da7..3909b76dd 100644 --- a/poky/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb +++ b/poky/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb @@ -19,7 +19,37 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ file://0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch \ file://0001-tests-codegen.py-removing-unecessary-print-statement.patch \ " - +SRC_URI += "\ + file://0001-gobject-Drop-use-of-volatile-from-get_type-macros.patch \ + file://0002-tests-Fix-non-atomic-access-to-a-shared-variable.patch \ + file://0003-tests-Fix-non-atomic-access-to-a-shared-variable.patch \ + file://0004-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch \ + file://0005-tests-Fix-non-atomic-access-to-some-shared-variables.patch \ + file://0006-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch \ + file://0007-gdbusconnection-Drop-unnecessary-volatile-qualifiers.patch \ + file://0008-gdbuserror-Drop-unnecessary-volatile-qualifiers-from.patch \ + file://0009-gio-Drop-unnecessary-volatile-qualifiers-from-intern.patch \ + file://0010-kqueue-Fix-unlocked-access-to-shared-variable.patch \ + file://0011-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch \ + file://0012-tests-Fix-non-atomic-access-to-some-shared-variables.patch \ + file://0013-gatomic-Drop-unnecessary-volatile-qualifiers-from-in.patch \ + file://0014-gatomic-Drop-unnecessary-volatile-qualifiers-from-ma.patch \ + file://0015-glib-Drop-unnecessary-volatile-qualifiers-from-inter.patch \ + file://0016-gobject-Drop-unnecessary-volatile-qualifiers-from-in.patch \ + file://0017-gmessages-Drop-unnecessary-volatile-qualifiers-from-.patch \ + file://0018-gtypes-Drop-volatile-qualifier-from-gatomicrefcount.patch \ + file://0019-gatomicarray-Drop-volatile-qualifier-from-GAtomicArr.patch \ + file://0020-gobject-Drop-volatile-qualifier-from-GObject.ref_cou.patch \ + file://0021-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch \ + file://0022-build-Drop-unnecessary-volatile-qualifiers-from-conf.patch \ + file://0023-gdbusprivate-Avoid-a-warning-about-a-statement-with-.patch \ + file://0024-tests-Add-comment-to-volatile-atomic-tests.patch \ + file://0025-gthread-Use-g_atomic-primitives-correctly-in-destruc.patch \ + file://0026-gtype-Fix-some-typos-in-comments.patch \ + file://0027-gtype-Add-some-missing-atomic-accesses-to-init_state.patch \ + file://0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch \ + file://0029-docs-Document-not-to-use-volatile-qualifiers.patch \ +" SRC_URI_append_class-native = " file://relocate-modules.patch" SRC_URI[sha256sum] = "09f158769f6f26b31074e15b1ac80ec39b13b53102dfae66cfe826fb2cc65502" @@ -31,7 +61,7 @@ def find_meson_cross_files(d): if bb.data.inherits_class('native', d): return "" - thisdir = d.getVar("THISDIR") + thisdir = os.path.normpath(d.getVar("THISDIR")) import collections sitedata = siteinfo_data(d) # filename -> found @@ -41,7 +71,8 @@ def find_meson_cross_files(d): filename = os.path.normpath(os.path.join(path, "meson.cross.d", element)) sanitized_path = filename.replace(thisdir, "${THISDIR}") if sanitized_path == filename: - bb.error("Cannot add '%s' to --cross-file, because it's not relative to THISDIR '%s' and sstate signature would contain this full path" % (filename, thisdir)) + if os.path.exists(filename): + bb.error("Cannot add '%s' to --cross-file, because it's not relative to THISDIR '%s' and sstate signature would contain this full path" % (filename, thisdir)) continue files[filename.replace(thisdir, "${THISDIR}")] = os.path.exists(filename) |