Patchwork [3/7] alsa-utils-alsaconf: tidy up path setting

login
register
mail settings
Submitter Paul Eggleton
Date Nov. 26, 2013, 2:41 p.m.
Message ID <550510c51769fa36d9eee1401887abe3689cfaab.1385476873.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/62415/
State Accepted
Commit 9dfcab391b4026391d0f97b57666cc023bdaf17d
Headers show

Comments

Paul Eggleton - Nov. 26, 2013, 2:41 p.m.
* Set FILESEXTRAPATHS instead of FILESPATH
* Don't set THISDIR, it's already set by base.bbclass

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.27.2.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.27.2.bb b/meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.27.2.bb
index a3fa1d0..cacc37c 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.27.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.27.2.bb
@@ -1,7 +1,6 @@ 
 require alsa-utils_${PV}.bb
 
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/alsa-utils"], d)}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/alsa-utils:"
 
 PACKAGES = "${PN}"
 RDEPENDS_${PN} += "bash"