diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-17 13:49:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-18 00:37:57 +0100 |
commit | b24d28428a79ccc10358546b09729f419f6f7fae (patch) | |
tree | addec3e4d4e338b79a08c11cbdd75e4572e1fda7 /meta/recipes-bsp/pcmciautils/pcmciautils.inc | |
parent | 79a205be0dae01c68a81b3a992193a71f666844e (diff) | |
download | poky-b24d28428a79ccc10358546b09729f419f6f7fae.tar.gz |
pcmciautils: Use pkgconfig to set udev variables correctly
(From OE-Core rev: e177bad3c5f2d37fe7a0092c22cc3dfc556f3dea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pcmciautils/pcmciautils.inc')
-rw-r--r-- | meta/recipes-bsp/pcmciautils/pcmciautils.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-bsp/pcmciautils/pcmciautils.inc b/meta/recipes-bsp/pcmciautils/pcmciautils.inc index 065123682a..0ef939e843 100644 --- a/meta/recipes-bsp/pcmciautils/pcmciautils.inc +++ b/meta/recipes-bsp/pcmciautils/pcmciautils.inc | |||
@@ -5,7 +5,7 @@ SECTION = "kernel/userland" | |||
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
7 | 7 | ||
8 | DEPENDS = "sysfsutils flex-native" | 8 | DEPENDS = "udev sysfsutils flex-native" |
9 | RDEPENDS_${PN} = "udev module-init-tools" | 9 | RDEPENDS_${PN} = "udev module-init-tools" |
10 | 10 | ||
11 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2" | 11 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2" |
@@ -16,8 +16,8 @@ export HOSTCC = "${BUILD_CC}" | |||
16 | export etcdir = "${sysconfdir}" | 16 | export etcdir = "${sysconfdir}" |
17 | export sbindir = "${base_sbindir}" | 17 | export sbindir = "${base_sbindir}" |
18 | export pcmciaconfdir = "${sysconfdir}/pcmcia" | 18 | export pcmciaconfdir = "${sysconfdir}/pcmcia" |
19 | export udevdir = "${base_libdir}/udev" | 19 | export udevdir = "`pkg-config --variable=udevdir udev`" |
20 | export udevrulesdir = "${nonarch_base_libdir}/udev/rules.d" | 20 | export udevrulesdir = "`pkg-config --variable=udevdir 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" |