summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-01-04 19:19:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-10 23:43:15 +0000
commitd5ce76dce394dcfa0a92e6a792c838dc6b530118 (patch)
tree373e81f5c5bde0bc3cd628afe356c5ecb7a9698f /meta/recipes-core
parenta09fbc8d14ed1a68ab922e1b1803c30c51ead3b7 (diff)
downloadpoky-d5ce76dce394dcfa0a92e6a792c838dc6b530118.tar.gz
udev: Fix build with eglibc 2.17
Link with librt to get definitions of mq_* functions Fixes errors like below /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/udev/182-r3/udev-182/src/sd-daemon.c:394: undefined reference to `mq_getattr' | collect2: error: ld returned 1 exit status (From OE-Core rev: f8797bbba22e9b22bab3ddeb59cd3f33a816fa72) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/udev/udev.inc3
-rw-r--r--meta/recipes-core/udev/udev_182.bb2
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 4705b9b7cd..9f60b17567 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -9,7 +9,8 @@ LICENSE_libgudev = "LGPLv2.1+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 9LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 file://src/COPYING;md5=17c4e5fb495e6707ac92a3864926f979 \ 10 file://src/COPYING;md5=17c4e5fb495e6707ac92a3864926f979 \
11 file://src/gudev/COPYING;md5=fb494485a7d0505308cb68e4997cc266" 11 file://src/gudev/COPYING;md5=fb494485a7d0505308cb68e4997cc266"
12 12
13LDFLAGS += "-lrt"
13 14
14DEPENDS = "acl glib-2.0 libusb usbutils pciutils gperf-native libxslt-native util-linux" 15DEPENDS = "acl glib-2.0 libusb usbutils pciutils gperf-native libxslt-native util-linux"
15RPROVIDES_${PN} = "hotplug" 16RPROVIDES_${PN} = "hotplug"
diff --git a/meta/recipes-core/udev/udev_182.bb b/meta/recipes-core/udev/udev_182.bb
index 0ae9f8c6b6..cf0f126b92 100644
--- a/meta/recipes-core/udev/udev_182.bb
+++ b/meta/recipes-core/udev/udev_182.bb
@@ -1,6 +1,6 @@
1include udev.inc 1include udev.inc
2 2
3PR = "r3" 3PR = "r4"
4 4
5# module-init-tools from kmod_git will provide libkmod runtime 5# module-init-tools from kmod_git will provide libkmod runtime
6DEPENDS += "module-init-tools" 6DEPENDS += "module-init-tools"