summaryrefslogtreecommitdiff
path: root/recipes/pcmciautils/pcmciautils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pcmciautils/pcmciautils.inc')
-rw-r--r--recipes/pcmciautils/pcmciautils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/pcmciautils/pcmciautils.inc b/recipes/pcmciautils/pcmciautils.inc
index 4470efe62f..6fd0313403 100644
--- a/recipes/pcmciautils/pcmciautils.inc
+++ b/recipes/pcmciautils/pcmciautils.inc
@@ -1,5 +1,5 @@
DESCRIPTION = "Linux Kernel 2.6 Userland Utilities for the PCMCIA Subsystem"
-DEPENDS = "sysfsutils"
+DEPENDS = "sysfsutils flex-native"
RDEPENDS_${PN} = "udev module-init-tools"
HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
SECTION = "kernel/userland"
@@ -20,7 +20,7 @@ LD = "${CC}"
CFLAGS =+ "-I${S}/src"
PARALLEL_MAKE = ""
-EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs'"
+EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' LEX='${STAGING_BINDIR_NATIVE}/flex'"
do_install () {
oe_runmake 'DESTDIR=${D}' install