blob: e50aa71a9fd7f09ca95740606614b31c208a1804 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "Fast data collector for Embedded Linux"
2HOMEPAGE = "http://fluentbit.io"
3BUGTRACKER = "https://github.com/fluent/fluent-bit/issues"
4
5SRC_URI = "http://fluentbit.io/releases/0.12/fluent-bit-${PV}.tar.gz \
6 file://jemalloc.patch \
7 "
8SRC_URI[md5sum] = "7c8708312ac9122faacf9e2a4751eb34"
9SRC_URI[sha256sum] = "23a81087edf0e2c6f2d49411c6a82308afc5224f67bbaa45729c057af62e9241"
10
11S = "${WORKDIR}/fluent-bit-${PV}"
12
13LICENSE = "Apache-2.0"
14LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
15
16DEPENDS = "zlib"
17INSANE_SKIP_${PN}-dev += "dev-elf"
18
19inherit cmake systemd
20
21EXTRA_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 $$)
25OECMAKE_GENERATOR = "Unix Makefiles"
26
27SYSTEMD_SERVICE_${PN} = "td-agent-bit.service"
28
29TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"