diff options
| -rw-r--r-- | meta-networking/recipes-protocols/frr/frr_8.2.2.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/frr/frr_8.2.2.bb b/meta-networking/recipes-protocols/frr/frr_8.2.2.bb index b6e180e2c9..05195a3f65 100644 --- a/meta-networking/recipes-protocols/frr/frr_8.2.2.bb +++ b/meta-networking/recipes-protocols/frr/frr_8.2.2.bb | |||
| @@ -26,7 +26,7 @@ COMPATIBLE_HOST:armv5 = "null" | |||
| 26 | # Error: PC-relative reference to a different section | 26 | # Error: PC-relative reference to a different section |
| 27 | COMPATIBLE_HOST:mips64 = "null" | 27 | COMPATIBLE_HOST:mips64 = "null" |
| 28 | 28 | ||
| 29 | inherit autotools python3native pkgconfig useradd systemd | 29 | inherit autotools-brokensep python3native pkgconfig useradd systemd |
| 30 | 30 | ||
| 31 | DEPENDS:class-native = "bison-native elfutils-native" | 31 | DEPENDS:class-native = "bison-native elfutils-native" |
| 32 | DEPENDS:class-target = "bison-native json-c readline c-ares libyang frr-native" | 32 | DEPENDS:class-target = "bison-native json-c readline c-ares libyang frr-native" |
| @@ -63,6 +63,8 @@ EXTRA_OECONF:class-target = "--sbindir=${libdir}/frr \ | |||
| 63 | --with-clippy=${RECIPE_SYSROOT_NATIVE}/usr/lib/clippy \ | 63 | --with-clippy=${RECIPE_SYSROOT_NATIVE}/usr/lib/clippy \ |
| 64 | " | 64 | " |
| 65 | 65 | ||
| 66 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" | ||
| 67 | |||
| 66 | LDFLAGS:append:mips = " -latomic" | 68 | LDFLAGS:append:mips = " -latomic" |
| 67 | LDFLAGS:append:mipsel = " -latomic" | 69 | LDFLAGS:append:mipsel = " -latomic" |
| 68 | LDFLAGS:append:powerpc = " -latomic" | 70 | LDFLAGS:append:powerpc = " -latomic" |
| @@ -77,7 +79,7 @@ do_compile:class-native () { | |||
| 77 | 79 | ||
| 78 | do_install:class-native () { | 80 | do_install:class-native () { |
| 79 | install -d ${D}${libdir} | 81 | install -d ${D}${libdir} |
| 80 | install -m 755 ${WORKDIR}/build/lib/clippy ${D}${libdir}/clippy | 82 | install -m 755 ${S}/lib/clippy ${D}${libdir}/clippy |
| 81 | } | 83 | } |
| 82 | 84 | ||
| 83 | do_install:append:class-target () { | 85 | do_install:append:class-target () { |
