summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2023-03-08 21:49:23 +0800
committerKhem Raj <raj.khem@gmail.com>2023-03-08 07:12:23 -0800
commitd7b8c3a9f7185ae36f96058b6c8239cbaa55fc8e (patch)
tree8fd4701aac85d204d7f5ba0f94407857291e27d7
parentaff811bf9ed1503a68343b1b423761a220310293 (diff)
downloadmeta-openembedded-d7b8c3a9f7185ae36f96058b6c8239cbaa55fc8e.tar.gz
frr: support more arches
Now frr can support more arches as libyang can be built on all arches. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-protocols/frr/frr_8.4.2.bb10
1 files changed, 1 insertions, 9 deletions
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<pver>\d+(\.\d+)+)$"
20 20
21S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
22 22
23# Due to libyang not supported on these arches:
24COMPATIBLE_HOST:riscv32 = "null"
25COMPATIBLE_HOST:riscv64 = "null"
26COMPATIBLE_HOST:armv5 = "null"
27
28# Fail to build on mips64 with error:
29# Error: PC-relative reference to a different section
30COMPATIBLE_HOST:mips64 = "null"
31
32inherit autotools-brokensep python3native pkgconfig useradd systemd 23inherit autotools-brokensep python3native pkgconfig useradd systemd
33 24
34DEPENDS:class-native = "bison-native elfutils-native" 25DEPENDS:class-native = "bison-native elfutils-native"
@@ -71,6 +62,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
71LDFLAGS:append:mips = " -latomic" 62LDFLAGS:append:mips = " -latomic"
72LDFLAGS:append:mipsel = " -latomic" 63LDFLAGS:append:mipsel = " -latomic"
73LDFLAGS:append:powerpc = " -latomic" 64LDFLAGS:append:powerpc = " -latomic"
65LDFLAGS:append:riscv32 = " -latomic"
74 66
75SYSTEMD_PACKAGES = "${PN}" 67SYSTEMD_PACKAGES = "${PN}"
76SYSTEMD_SERVICE:${PN} = "frr.service" 68SYSTEMD_SERVICE:${PN} = "frr.service"