summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2018-06-10 15:23:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-27 13:55:21 +0100
commitcaed345be3c0b87e14ea06c6b0f666fbcde92730 (patch)
tree4220ccbe7f2fdea0b6cb6f6b37c354d957becf17 /meta/recipes-support
parent8ea511ec30d5fb74c9f05c58f13ea6cc0358045c (diff)
downloadpoky-caed345be3c0b87e14ea06c6b0f666fbcde92730.tar.gz
nss: Fix build error for aarch64be.
(From OE-Core rev: 2d9a8a5539342faa1827f4902b1095a9f3448c66) Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/nss/nss_3.36.1.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/nss/nss_3.36.1.bb b/meta/recipes-support/nss/nss_3.36.1.bb
index f8555389ff..780a7ab088 100644
--- a/meta/recipes-support/nss/nss_3.36.1.bb
+++ b/meta/recipes-support/nss/nss_3.36.1.bb
@@ -89,6 +89,8 @@ do_compile() {
89 OS_TEST=ppc64 89 OS_TEST=ppc64
90 elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then 90 elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then
91 OS_TEST=mips 91 OS_TEST=mips
92 elif [ "${TARGET_ARCH}" = "aarch64_be" ]; then
93 OS_TEST="aarch64"
92 else 94 else
93 OS_TEST="${TARGET_ARCH}" 95 OS_TEST="${TARGET_ARCH}"
94 fi 96 fi
@@ -144,6 +146,9 @@ do_install() {
144 OS_TEST=ppc64 146 OS_TEST=ppc64
145 elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then 147 elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then
146 OS_TEST=mips 148 OS_TEST=mips
149 elif [ "${TARGET_ARCH}" = "aarch64_be" ]; then
150 CPU_ARCH=aarch64
151 OS_TEST="aarch64"
147 else 152 else
148 OS_TEST="${TARGET_ARCH}" 153 OS_TEST="${TARGET_ARCH}"
149 fi 154 fi