aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/udev
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-10-22 02:07:19 +0300
committerOtavio Salvador <otavio@ossystems.com.br>2012-10-21 21:21:41 -0200
commit31e8a477d5e738d9f04e61272cf851387fc42769 (patch)
tree9ac4aeffac7ecaf18cc72f28695084c871e86643 /recipes-core/udev
parent867aef036504a06fbc404f59369b9f06420c895b (diff)
downloadmeta-fsl-arm-31e8a477d5e738d9f04e61272cf851387fc42769.zip
meta-fsl-arm-31e8a477d5e738d9f04e61272cf851387fc42769.tar.gz
meta-fsl-arm-31e8a477d5e738d9f04e61272cf851387fc42769.tar.bz2
udev: Use oe_filter_out to switch to git source
Don't redefine SRC_URI just to replace source. We can use oe_filter_out and have this done in one line. Don't append FILESEXTRAPATHS as we don't yet use any local files. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-core/udev')
-rw-r--r--recipes-core/udev/udev_173.bbappend23
1 files changed, 4 insertions, 19 deletions
diff --git a/recipes-core/udev/udev_173.bbappend b/recipes-core/udev/udev_173.bbappend
index 080f6b7..29b20bd 100644
--- a/recipes-core/udev/udev_173.bbappend
+++ b/recipes-core/udev/udev_173.bbappend
@@ -1,23 +1,8 @@
-# Freescale imx extra configuration udev rules
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
+# Switch to git source
# 173 tag
SRCREV = "ad667dff51711fed763a23283d973486de3cd6b5"
-
-# version specific SRC_URI
-SRC_URI = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git \
- file://0001-rip-put-doc-generation-it-depends-on-a-working-docto.patch \
- file://gtk-doc.make"
-
-# generic SRC_URI
-SRC_URI += " \
- file://touchscreen.rules \
- file://modprobe.rules \
- file://default \
- file://init \
- file://cache \
-"
-
+SRC_URI := "${@oe_filter_out('${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.bz2', '${SRC_URI}', d)}"
+SRC_URI_prepend = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git "
S = "${WORKDIR}/git"