]> code.ossystems Code Review - meta-freescale.git/commitdiff
udev: Use oe_filter_out to switch to git source
authorAndrei Gherzan <andrei@gherzan.ro>
Sun, 21 Oct 2012 23:07:19 +0000 (02:07 +0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 21 Oct 2012 23:21:41 +0000 (21:21 -0200)
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>
meta-fsl-arm/recipes-core/udev/udev_173.bbappend

index 080f6b7b7ceaa67bb322e1fa565b397e6b87a3f9..29b20bd301ad6ea9e0fc789bb18929af2208ea82 100644 (file)
@@ -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"