summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTakeshi Hamasaki <hmatrjp@users.sourceforge.jp>2013-04-01 20:40:57 +0900
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-02 18:08:47 +0100
commit238244c3136c462b225454150024960cbcbbec42 (patch)
treefaa8dd3962f4baea1bb99f3f12b234382bfe983e /meta
parent510d8b51dfd473314f1528a36bbc5c79c22a103f (diff)
downloadpoky-238244c3136c462b225454150024960cbcbbec42.tar.gz
pcmciautils: fix segmentation fault of pccardctl command
This changes definition of PCMCIAUTILS_VERSION to string from a multichacter constant to avoid segmentation fault of pccardctl command. (From OE-Core rev: aee67a229304827a12b7776a82fb1c320da9a3c4) Signed-off-by: Takeshi Hamasaki <hmatrjp@users.sourceforge.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/pcmciautils/pcmciautils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/pcmciautils/pcmciautils.inc b/meta/recipes-bsp/pcmciautils/pcmciautils.inc
index 80271d6a9a..065123682a 100644
--- a/meta/recipes-bsp/pcmciautils/pcmciautils.inc
+++ b/meta/recipes-bsp/pcmciautils/pcmciautils.inc
@@ -21,7 +21,7 @@ export udevrulesdir = "${nonarch_base_libdir}/udev/rules.d"
21export UDEV = "1" 21export UDEV = "1"
22LD = "${CC}" 22LD = "${CC}"
23CFLAGS =+ "-I${S}/src" 23CFLAGS =+ "-I${S}/src"
24CFLAGS =+ "-DPCMCIAUTILS_VERSION=\'${PV}\'" 24CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\""
25 25
26PARALLEL_MAKE = "" 26PARALLEL_MAKE = ""
27EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" 27EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'"