diff options
Diffstat (limited to 'meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb')
-rw-r--r-- | meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb index ef82a8fb0..596ec0b43 100644 --- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb +++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb | |||
@@ -8,7 +8,7 @@ LICENSE = "Apache-2.0" | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9534eb5f4ab800b573a37bffc62f3a7" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9534eb5f4ab800b573a37bffc62f3a7" |
9 | 9 | ||
10 | DEPENDS = "virtual/crypt expat flex python3 bison-native libxml2 nettle lz4" | 10 | DEPENDS = "virtual/crypt expat flex python3 bison-native libxml2 nettle lz4" |
11 | RDEPENDS_${PN} = "python3-core" | 11 | RDEPENDS:${PN} = "python3-core" |
12 | 12 | ||
13 | SRCREV = "aa42957a2e227df41510047cece3cd606dc1cb6a" | 13 | SRCREV = "aa42957a2e227df41510047cece3cd606dc1cb6a" |
14 | SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git \ | 14 | SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git \ |
@@ -47,7 +47,7 @@ S = "${WORKDIR}/git" | |||
47 | inherit pkgconfig cmake systemd | 47 | inherit pkgconfig cmake systemd |
48 | 48 | ||
49 | SYSTEMD_PACKAGES = "minifi-cpp" | 49 | SYSTEMD_PACKAGES = "minifi-cpp" |
50 | SYSTEMD_SERVICE_${PN} = "minifi.service" | 50 | SYSTEMD_SERVICE:${PN} = "minifi.service" |
51 | SYSTEMD_AUTO_ENABLE = "disable" | 51 | SYSTEMD_AUTO_ENABLE = "disable" |
52 | 52 | ||
53 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" | 53 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" |
@@ -58,23 +58,23 @@ EXTRA_OECMAKE += " \ | |||
58 | -DGCC_AR=${STAGING_BINDIR_TOOLCHAIN}/${AR} \ | 58 | -DGCC_AR=${STAGING_BINDIR_TOOLCHAIN}/${AR} \ |
59 | -DGCC_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \ | 59 | -DGCC_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \ |
60 | " | 60 | " |
61 | EXTRA_OECMAKE_append_toolchain-clang = " -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib" | 61 | EXTRA_OECMAKE:append:toolchain-clang = " -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib" |
62 | LDFLAGS_append_toolchain-clang = " -fuse-ld=lld" | 62 | LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" |
63 | 63 | ||
64 | # RV lld errors out: | 64 | # RV lld errors out: |
65 | # riscv64-yoe-linux-ld.lld: error: init.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax | 65 | # riscv64-yoe-linux-ld.lld: error: init.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax |
66 | LDFLAGS_remove_riscv32 = "-fuse-ld=lld" | 66 | LDFLAGS:remove:riscv32 = "-fuse-ld=lld" |
67 | LDFLAGS_remove_riscv64 = "-fuse-ld=lld" | 67 | LDFLAGS:remove:riscv64 = "-fuse-ld=lld" |
68 | 68 | ||
69 | # There are endian issues when communicating with the x86 nifi on the the mips and the ppc machines. | 69 | # There are endian issues when communicating with the x86 nifi on the the mips and the ppc machines. |
70 | COMPATIBLE_MACHINE_mips = "(!.*mips).*" | 70 | COMPATIBLE_MACHINE:mips = "(!.*mips).*" |
71 | COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*" | 71 | COMPATIBLE_MACHINE:mips64 = "(!.*mips64).*" |
72 | COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*" | 72 | COMPATIBLE_MACHINE:powerpc = "(!.*ppc).*" |
73 | 73 | ||
74 | TARGET_CFLAGS_append_riscv32 = " -fpic" | 74 | TARGET_CFLAGS:append:riscv32 = " -fpic" |
75 | TARGET_CXXFLAGS_append_riscv32 = " -fpic" | 75 | TARGET_CXXFLAGS:append:riscv32 = " -fpic" |
76 | TARGET_CFLAGS_append_riscv64 = " -fpic" | 76 | TARGET_CFLAGS:append:riscv64 = " -fpic" |
77 | TARGET_CXXFLAGS_append_riscv64 = " -fpic" | 77 | TARGET_CXXFLAGS:append:riscv64 = " -fpic" |
78 | 78 | ||
79 | do_install[cleandirs] += "${WORKDIR}/minifi-install" | 79 | do_install[cleandirs] += "${WORKDIR}/minifi-install" |
80 | PSEUDO_CONSIDER_PATHS .= ",${WORKDIR}/minifi-install" | 80 | PSEUDO_CONSIDER_PATHS .= ",${WORKDIR}/minifi-install" |
@@ -130,7 +130,7 @@ do_install() { | |||
130 | fi | 130 | fi |
131 | } | 131 | } |
132 | 132 | ||
133 | pkg_postinst_${PN}() { | 133 | pkg_postinst:${PN}() { |
134 | if [ -z "$D" ]; then | 134 | if [ -z "$D" ]; then |
135 | if type systemd-tmpfiles >/dev/null; then | 135 | if type systemd-tmpfiles >/dev/null; then |
136 | systemd-tmpfiles --create | 136 | systemd-tmpfiles --create |