summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2018-03-05 18:41:57 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-08 10:39:32 -0800
commit3a7f48ebcbf201b1a22fa97804673e559701f321 (patch)
treef143083c6692d55033f5d645f246075b496009e3 /meta/recipes-devtools/flex
parent83cd2b3e775235942dd4201622dc5cc2d4328994 (diff)
downloadpoky-3a7f48ebcbf201b1a22fa97804673e559701f321.tar.gz
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 <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/flex')
-rw-r--r--meta/recipes-devtools/flex/flex_2.6.0.bb4
1 files changed, 4 insertions, 0 deletions
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() {
43 create_wrapper ${D}/${bindir}/flex M4=${M4} 43 create_wrapper ${D}/${bindir}/flex M4=${M4}
44} 44}
45 45
46PACKAGES =+ "${PN}-libfl"
47
48FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*"
49
46RDEPENDS_${PN} += "m4" 50RDEPENDS_${PN} += "m4"
47RDEPENDS_${PN}-ptest += "bash gawk" 51RDEPENDS_${PN}-ptest += "bash gawk"
48 52