]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta: Fix native inheritance order in recipes
authorTomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Sun, 24 Jan 2021 09:55:46 +0000 (10:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jan 2021 10:16:13 +0000 (10:16 +0000)
Classes native/nativesdk should be inherited last to prevent unexpected
behaviour.

See [YOCTO #5729] for details.

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/cross-localedef-native_2.32.bb
meta/recipes-devtools/meson/nativesdk-meson_0.56.2.bb
meta/recipes-devtools/qemu/qemu-native.inc

index 5a0abbb70fbbf109926b9adffa2019bbc79d93f6..ec59c6ba107af95a9689182a189f0f597c838df6 100644 (file)
@@ -14,8 +14,8 @@ require glibc-version.inc
 #
 AUTOTOOLS_SCRIPT_PATH = "${S}/localedef"
 
-inherit native
 inherit autotools
+inherit native
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:"
 
index 7fdc4c86d939735a93d766da1325b2390feebbac..8778cab1247d0580090c5493870db95d2b4ab221 100644 (file)
@@ -1,7 +1,7 @@
 include meson.inc
 
-inherit nativesdk
 inherit siteinfo
+inherit nativesdk
 
 SRC_URI += "file://meson-setup.py \
             file://meson-wrapper"
index aa5c9b9a72fc1df8e35732c79131bde5b73d1c39..54e49d8bc6c62e44ca9b8b45fc3135ab40d76290 100644 (file)
@@ -1,7 +1,7 @@
-inherit native
-
 require qemu.inc
 
+inherit native
+
 EXTRA_OEMAKE_append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"
 
 LDFLAGS_append = " -fuse-ld=bfd"