aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2019-12-20 15:08:15 +0530
committerSumit Garg <sumit.garg@linaro.org>2020-01-02 16:02:23 +0530
commita676d70fdedd77d798e41c5b4935561cf4b563dc (patch)
treeb3e29fb8b463c4dd7744d4b1f07ef5cfd8177f4e
parent6a2ef1f88c6e30888b1a75a054a66dcb57db4dc3 (diff)
downloadmeta-linaro-a676d70fdedd77d798e41c5b4935561cf4b563dc.tar.gz
external-arm-toolchain: fix oe_multilib_header() errors
Since external toolchain doesn't provide multilib support so define oe_multilib_header() as an empty function to avoid errors such as: ERROR: external-arm-toolchain-2019.03-r0 do_install: oe_multilib_header: Unable to find header bits/procfs-id.h. ERROR: external-arm-toolchain-2019.03-r0 do_install: oe_multilib_header: Unable to find header bits/procfs.h. ERROR: external-arm-toolchain-2019.03-r0 do_install: oe_multilib_header: Unable to find header bits/shmlba.h. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: I8ae41de962d72162f2ae47c419407b6eadaf8c12
-rw-r--r--meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb b/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
index 391ef503..761f9fbd 100644
--- a/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
+++ b/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
@@ -251,6 +251,12 @@ do_install() {
rmdir ${D}${sbindir} || true
}
+# External toolchain doesn't provide multilib support so make corresponding
+# install API as an empty API to avoid an unnecessary errors.
+oe_multilib_header () {
+ return
+}
+
PACKAGES_DYNAMIC = "^locale-base-.* \
^glibc-gconv-.* ^glibc-charmap-.* ^glibc-localedata-.* ^glibc-binary-localedata-.* \
^${MLPREFIX}glibc-gconv$"