From d7b8c3a9f7185ae36f96058b6c8239cbaa55fc8e Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Wed, 8 Mar 2023 21:49:23 +0800 Subject: frr: support more arches Now frr can support more arches as libyang can be built on all arches. Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/frr/frr_8.4.2.bb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'meta-networking/recipes-protocols') diff --git a/meta-networking/recipes-protocols/frr/frr_8.4.2.bb b/meta-networking/recipes-protocols/frr/frr_8.4.2.bb index e5082e2e6c..d01d895a80 100644 --- a/meta-networking/recipes-protocols/frr/frr_8.4.2.bb +++ b/meta-networking/recipes-protocols/frr/frr_8.4.2.bb @@ -20,15 +20,6 @@ UPSTREAM_CHECK_GITTAGREGEX = "frr-(?P\d+(\.\d+)+)$" S = "${WORKDIR}/git" -# Due to libyang not supported on these arches: -COMPATIBLE_HOST:riscv32 = "null" -COMPATIBLE_HOST:riscv64 = "null" -COMPATIBLE_HOST:armv5 = "null" - -# Fail to build on mips64 with error: -# Error: PC-relative reference to a different section -COMPATIBLE_HOST:mips64 = "null" - inherit autotools-brokensep python3native pkgconfig useradd systemd DEPENDS:class-native = "bison-native elfutils-native" @@ -71,6 +62,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" LDFLAGS:append:mips = " -latomic" LDFLAGS:append:mipsel = " -latomic" LDFLAGS:append:powerpc = " -latomic" +LDFLAGS:append:riscv32 = " -latomic" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE:${PN} = "frr.service" -- cgit v1.2.3-54-g00ecf