From 3a7f48ebcbf201b1a22fa97804673e559701f321 Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Mon, 5 Mar 2018 18:41:57 -0800 Subject: flex: create separate package for libfl Target binaries linked with libfl currently generate a runtime dependency on the entire flex package (and therefore m4 and bison too). Copy Debian's approach and create a separate package for libfl. (From OE-Core rev: 1bc6ad19d56498847dc95cce0ea371ba77eff143) Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/flex/flex_2.6.0.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-devtools/flex') diff --git a/meta/recipes-devtools/flex/flex_2.6.0.bb b/meta/recipes-devtools/flex/flex_2.6.0.bb index a906fe8dc6..b89b7515b5 100644 --- a/meta/recipes-devtools/flex/flex_2.6.0.bb +++ b/meta/recipes-devtools/flex/flex_2.6.0.bb @@ -43,6 +43,10 @@ do_install_append_class-nativesdk() { create_wrapper ${D}/${bindir}/flex M4=${M4} } +PACKAGES =+ "${PN}-libfl" + +FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*" + RDEPENDS_${PN} += "m4" RDEPENDS_${PN}-ptest += "bash gawk" -- cgit v1.2.3-54-g00ecf