diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2023-03-08 21:49:23 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-03-08 07:12:23 -0800 |
| commit | d7b8c3a9f7185ae36f96058b6c8239cbaa55fc8e (patch) | |
| tree | 8fd4701aac85d204d7f5ba0f94407857291e27d7 | |
| parent | aff811bf9ed1503a68343b1b423761a220310293 (diff) | |
| download | meta-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.bb | 10 |
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 | ||
| 21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
| 22 | 22 | ||
| 23 | # Due to libyang not supported on these arches: | ||
| 24 | COMPATIBLE_HOST:riscv32 = "null" | ||
| 25 | COMPATIBLE_HOST:riscv64 = "null" | ||
| 26 | COMPATIBLE_HOST:armv5 = "null" | ||
| 27 | |||
| 28 | # Fail to build on mips64 with error: | ||
| 29 | # Error: PC-relative reference to a different section | ||
| 30 | COMPATIBLE_HOST:mips64 = "null" | ||
| 31 | |||
| 32 | inherit autotools-brokensep python3native pkgconfig useradd systemd | 23 | inherit autotools-brokensep python3native pkgconfig useradd systemd |
| 33 | 24 | ||
| 34 | DEPENDS:class-native = "bison-native elfutils-native" | 25 | DEPENDS:class-native = "bison-native elfutils-native" |
| @@ -71,6 +62,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" | |||
| 71 | LDFLAGS:append:mips = " -latomic" | 62 | LDFLAGS:append:mips = " -latomic" |
| 72 | LDFLAGS:append:mipsel = " -latomic" | 63 | LDFLAGS:append:mipsel = " -latomic" |
| 73 | LDFLAGS:append:powerpc = " -latomic" | 64 | LDFLAGS:append:powerpc = " -latomic" |
| 65 | LDFLAGS:append:riscv32 = " -latomic" | ||
| 74 | 66 | ||
| 75 | SYSTEMD_PACKAGES = "${PN}" | 67 | SYSTEMD_PACKAGES = "${PN}" |
| 76 | SYSTEMD_SERVICE:${PN} = "frr.service" | 68 | SYSTEMD_SERVICE:${PN} = "frr.service" |
