From: Lei Maohui Date: Sun, 10 Jun 2018 22:23:35 +0000 (-0700) Subject: nss: Fix build error for aarch64be. X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17565 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d9a8a5539342faa1827f4902b1095a9f3448c66;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git nss: Fix build error for aarch64be. Signed-off-by: Lei Maohui Signed-off-by: Ross Burton --- diff --git a/meta/recipes-support/nss/nss_3.36.1.bb b/meta/recipes-support/nss/nss_3.36.1.bb index f8555389ff1..780a7ab0880 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