Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [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 | file://0001-fluent-bit-shared-Link-with-lpthread.patch \ |
| 8 | " |
| 9 | SRC_URI[md5sum] = "6b4472cb7e7213a01425af9121576827" |
| 10 | SRC_URI[sha256sum] = "8ec05365baea723033165687611b3bba3e67a77dce72e282e9f000f7acf9e37b" |
| 11 | |
| 12 | S = "${WORKDIR}/fluent-bit-${PV}" |
| 13 | |
| 14 | LICENSE = "Apache-2.0" |
| 15 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" |
| 16 | |
| 17 | DEPENDS = "zlib" |
| 18 | INSANE_SKIP_${PN}-dev += "dev-elf" |
| 19 | |
| 20 | inherit cmake systemd |
| 21 | |
| 22 | EXTRA_OECMAKE = "-DGNU_HOST=${HOST_SYS} -DFLB_ALL=ON -DFLB_TD=1" |
| 23 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 24 | # With Ninja it fails with: |
| 25 | # ninja: error: build.ninja:134: bad $-escape (literal $ must be written as $$) |
| 26 | OECMAKE_GENERATOR = "Unix Makefiles" |
| 27 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 28 | SYSTEMD_SERVICE_${PN} = "td-agent-bit.service" |
| 29 | |
| 30 | TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}" |