Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 1 | SUMMARY = "Fast data collector for Embedded Linux" |
| 2 | HOMEPAGE = "http://fluentbit.io" |
| 3 | BUGTRACKER = "https://github.com/fluent/fluent-bit/issues" |
| 4 | |
| 5 | SRC_URI = "http://fluentbit.io/releases/0.12/fluent-bit-${PV}.tar.gz \ |
| 6 | file://jemalloc.patch \ |
| 7 | " |
| 8 | SRC_URI[md5sum] = "7c8708312ac9122faacf9e2a4751eb34" |
| 9 | SRC_URI[sha256sum] = "23a81087edf0e2c6f2d49411c6a82308afc5224f67bbaa45729c057af62e9241" |
| 10 | |
| 11 | S = "${WORKDIR}/fluent-bit-${PV}" |
| 12 | |
| 13 | LICENSE = "Apache-2.0" |
| 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" |
| 15 | |
| 16 | DEPENDS = "zlib" |
| 17 | INSANE_SKIP_${PN}-dev += "dev-elf" |
| 18 | |
| 19 | inherit cmake systemd |
| 20 | |
| 21 | EXTRA_OECMAKE = "-DGNU_HOST=${HOST_SYS} -DFLB_ALL=ON -DFLB_TD=1" |
| 22 | |
| 23 | # With Ninja it fails with: |
| 24 | # ninja: error: build.ninja:134: bad $-escape (literal $ must be written as $$) |
| 25 | OECMAKE_GENERATOR = "Unix Makefiles" |
| 26 | |
| 27 | SYSTEMD_SERVICE_${PN} = "td-agent-bit.service" |
| 28 | |
| 29 | TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}" |