]> code.ossystems Code Review - openembedded-core.git/commitdiff
nss: Fix build error for aarch64be.
authorLei Maohui <leimaohui@cn.fujitsu.com>
Sun, 10 Jun 2018 22:23:35 +0000 (15:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jun 2018 12:53:28 +0000 (13:53 +0100)
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/nss/nss_3.36.1.bb

index f8555389ff10011d89b9977e27adcd05003387d1..780a7ab0880e13d9886542207bc57f13a174b130 100644 (file)
@@ -89,6 +89,8 @@ do_compile() {
         OS_TEST=ppc64
     elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then
         OS_TEST=mips
+    elif [ "${TARGET_ARCH}" = "aarch64_be" ]; then
+        OS_TEST="aarch64"
     else
         OS_TEST="${TARGET_ARCH}"
     fi
@@ -144,6 +146,9 @@ do_install() {
         OS_TEST=ppc64
     elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then
         OS_TEST=mips
+    elif [ "${TARGET_ARCH}" = "aarch64_be" ]; then
+        CPU_ARCH=aarch64
+        OS_TEST="aarch64"
     else
         OS_TEST="${TARGET_ARCH}"
     fi