Patchwork [2/2] x-load: remove usage of FILESPATH

login
register
mail settings
Submitter Petter Mabäcker
Date April 25, 2014, 10:11 p.m.
Message ID <039dd277887300080a5f094804910932d9f0eb42.1398462168.git.petter@technux.se>
Download mbox | patch
Permalink /patch/71001/
State New
Headers show

Comments

Petter Mabäcker - April 25, 2014, 10:11 p.m.
Usage of FILESPATH is discouraged, since it can make recipes harder to
bbappend. Instead FILESEXTRAPATHS should be used to extend the path.
However in x-load a better solution is to use a path that exists in
FILESPATH by default.

Signed-off-by: Petter Mabäcker <petter@technux.se>
---
 .../0001-Change-omap3530beagle-target-name.patch   |    0
 meta/recipes-bsp/x-load/x-load_git.bb              |    2 --
 2 files changed, 2 deletions(-)
 rename meta/recipes-bsp/x-load/{x-load-git => x-load}/beaglebone/0001-Change-omap3530beagle-target-name.patch (100%)

Patch

diff --git a/meta/recipes-bsp/x-load/x-load-git/beaglebone/0001-Change-omap3530beagle-target-name.patch b/meta/recipes-bsp/x-load/x-load/beaglebone/0001-Change-omap3530beagle-target-name.patch
similarity index 100%
rename from meta/recipes-bsp/x-load/x-load-git/beaglebone/0001-Change-omap3530beagle-target-name.patch
rename to meta/recipes-bsp/x-load/x-load/beaglebone/0001-Change-omap3530beagle-target-name.patch
diff --git a/meta/recipes-bsp/x-load/x-load_git.bb b/meta/recipes-bsp/x-load/x-load_git.bb
index 5112349..e5d9400 100644
--- a/meta/recipes-bsp/x-load/x-load_git.bb
+++ b/meta/recipes-bsp/x-load/x-load_git.bb
@@ -1,7 +1,5 @@ 
 require x-load.inc
 
-FILESPATH = "${FILE_DIRNAME}/x-load-git/${MACHINE}:${FILE_DIRNAME}/x-load-git/"
-
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://README;beginline=1;endline=25;md5=ef08d08cb99057bbb5b9d6d0c5a4396f"