summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/flex')
-rw-r--r--meta/recipes-devtools/flex/flex.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc
index 54e4ec3b25..a4a26e2787 100644
--- a/meta/recipes-devtools/flex/flex.inc
+++ b/meta/recipes-devtools/flex/flex.inc
@@ -5,6 +5,7 @@ HOMEPAGE = "http://sourceforge.net/projects/flex/"
5 5
6SECTION = "devel" 6SECTION = "devel"
7LICENSE = "BSD" 7LICENSE = "BSD"
8DEPENDS += "${@'bison-native flex-native' if '${PTEST_ENABLED}' == '1' else ''}"
8 9
9SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 \ 10SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 \
10 file://run-ptest \ 11 file://run-ptest \
@@ -28,7 +29,6 @@ do_install_append_class-nativesdk() {
28} 29}
29 30
30RDEPENDS_${PN} += "m4" 31RDEPENDS_${PN} += "m4"
31DEPENDS_${PN}-ptest += "bison-native flex-native"
32 32
33do_compile_ptest() { 33do_compile_ptest() {
34 for i in `find ${S}/tests/ -type d |grep -Ev "concatenated-options|reject|table-opts" | awk -F/ '{print $NF}'`; \ 34 for i in `find ${S}/tests/ -type d |grep -Ev "concatenated-options|reject|table-opts" | awk -F/ '{print $NF}'`; \