mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
flex-native encodes M4 staging path in its binary, which breaks sstate installation in a new build environment. Use create_wrapper to create a wrapper script which explicitly set M4 environmental variable to the new path Signed-off-by: Kevin Tian <kevin.tian@intel.com>
17 lines
481 B
PHP
17 lines
481 B
PHP
SUMMARY = "Flex (The Fast Lexical Analyzer)"
|
|
DESCRIPTION = "Flex is a fast lexical analyser generator. Flex is a tool for generating programs that recognize \
|
|
lexical patterns in text."
|
|
HOMEPAGE = "http://sourceforge.net/projects/flex/"
|
|
|
|
SECTION = "devel"
|
|
LICENSE = "BSD"
|
|
DEPENDS = "gettext"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 "
|
|
|
|
inherit autotools
|
|
|
|
do_install_append_virtclass-native() {
|
|
create_wrapper ${D}/${bindir}/flex M4=${STAGING_BINDIR_NATIVE}/m4
|
|
}
|