diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2018-03-05 18:41:57 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-08 10:39:32 -0800 |
commit | 3a7f48ebcbf201b1a22fa97804673e559701f321 (patch) | |
tree | f143083c6692d55033f5d645f246075b496009e3 /meta/recipes-devtools/flex/flex_2.6.0.bb | |
parent | 83cd2b3e775235942dd4201622dc5cc2d4328994 (diff) | |
download | poky-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/flex_2.6.0.bb')
-rw-r--r-- | meta/recipes-devtools/flex/flex_2.6.0.bb | 4 |
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 | ||
46 | PACKAGES =+ "${PN}-libfl" | ||
47 | |||
48 | FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*" | ||
49 | |||
46 | RDEPENDS_${PN} += "m4" | 50 | RDEPENDS_${PN} += "m4" |
47 | RDEPENDS_${PN}-ptest += "bash gawk" | 51 | RDEPENDS_${PN}-ptest += "bash gawk" |
48 | 52 | ||