[oe-commits] Dmitry Eremin-Solenikov : pcmciautils: fix build to use flex from sysroots, not from host
git version control
git at git.openembedded.org
Fri Jun 4 12:44:25 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date: Fri Jun 4 16:26:17 2010 +0400
pcmciautils: fix build to use flex from sysroots, not from host
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
recipes/pcmciautils/pcmciautils.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes/pcmciautils/pcmciautils.inc b/recipes/pcmciautils/pcmciautils.inc
index 4470efe..6fd0313 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
More information about the Openembedded-commits
mailing list