From caed345be3c0b87e14ea06c6b0f666fbcde92730 Mon Sep 17 00:00:00 2001 From: Lei Maohui Date: Sun, 10 Jun 2018 15:23:35 -0700 Subject: nss: Fix build error for aarch64be. (From OE-Core rev: 2d9a8a5539342faa1827f4902b1095a9f3448c66) Signed-off-by: Lei Maohui Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-support/nss/nss_3.36.1.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-support') 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() { 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 -- cgit v1.2.3-54-g00ecf