diff options
author | Takeshi Hamasaki <hmatrjp@users.sourceforge.jp> | 2013-04-01 20:40:57 +0900 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-02 18:08:47 +0100 |
commit | 238244c3136c462b225454150024960cbcbbec42 (patch) | |
tree | faa8dd3962f4baea1bb99f3f12b234382bfe983e /meta/recipes-bsp | |
parent | 510d8b51dfd473314f1528a36bbc5c79c22a103f (diff) | |
download | poky-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/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/pcmciautils/pcmciautils.inc | 2 |
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" | |||
21 | export UDEV = "1" | 21 | export UDEV = "1" |
22 | LD = "${CC}" | 22 | LD = "${CC}" |
23 | CFLAGS =+ "-I${S}/src" | 23 | CFLAGS =+ "-I${S}/src" |
24 | CFLAGS =+ "-DPCMCIAUTILS_VERSION=\'${PV}\'" | 24 | CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\"" |
25 | 25 | ||
26 | PARALLEL_MAKE = "" | 26 | PARALLEL_MAKE = "" |
27 | EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" | 27 | EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" |