summaryrefslogtreecommitdiff
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:43 +0100
commitaee67a229304827a12b7776a82fb1c320da9a3c4 (patch)
treeae7ebfc117ab67556e026965659023399ad50bc3
parentec5530779df23ea25729c7d19c664c05fae5758d (diff)
downloadopenembedded-core-aee67a229304827a12b7776a82fb1c320da9a3c4.tar.gz
openembedded-core-aee67a229304827a12b7776a82fb1c320da9a3c4.tar.bz2
openembedded-core-aee67a229304827a12b7776a82fb1c320da9a3c4.zip
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. Signed-off-by: Takeshi Hamasaki <hmatrjp@users.sourceforge.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"
export UDEV = "1"
LD = "${CC}"
CFLAGS =+ "-I${S}/src"
-CFLAGS =+ "-DPCMCIAUTILS_VERSION=\'${PV}\'"
+CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\""
PARALLEL_MAKE = ""
EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'"