diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-10-22 02:07:19 +0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-10-21 21:21:41 -0200 |
commit | 31e8a477d5e738d9f04e61272cf851387fc42769 (patch) | |
tree | 9ac4aeffac7ecaf18cc72f28695084c871e86643 /recipes-core | |
parent | 867aef036504a06fbc404f59369b9f06420c895b (diff) | |
download | meta-fsl-arm-31e8a477d5e738d9f04e61272cf851387fc42769.tar.gz |
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')
-rw-r--r-- | recipes-core/udev/udev_173.bbappend | 23 |
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 @@ | |||
1 | # Freescale imx extra configuration udev rules | 1 | PRINC := "${@int(PRINC) + 2}" |
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | PRINC := "${@int(PRINC) + 1}" | ||
5 | 2 | ||
3 | # Switch to git source | ||
6 | # 173 tag | 4 | # 173 tag |
7 | SRCREV = "ad667dff51711fed763a23283d973486de3cd6b5" | 5 | SRCREV = "ad667dff51711fed763a23283d973486de3cd6b5" |
8 | 6 | SRC_URI := "${@oe_filter_out('${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.bz2', '${SRC_URI}', d)}" | |
9 | # version specific SRC_URI | 7 | SRC_URI_prepend = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git " |
10 | SRC_URI = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git \ | ||
11 | file://0001-rip-put-doc-generation-it-depends-on-a-working-docto.patch \ | ||
12 | file://gtk-doc.make" | ||
13 | |||
14 | # generic SRC_URI | ||
15 | SRC_URI += " \ | ||
16 | file://touchscreen.rules \ | ||
17 | file://modprobe.rules \ | ||
18 | file://default \ | ||
19 | file://init \ | ||
20 | file://cache \ | ||
21 | " | ||
22 | |||
23 | S = "${WORKDIR}/git" | 8 | S = "${WORKDIR}/git" |