Skip to contentSkip to conversation

linux-yocto*: correct FILESEXTRAPATHS assignment in all layers

PATCH New Darren Hart 1 participant 1 message May 25, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-yocto*: correct FILESEXTRAPATHS assignment in all layers

My previous commit used a self referencing immediate expansion assignment using. This causes a circular reference and build failure, particularly when more than one layer is configured in.

Use the _prepend mechanism in conjunction with the immediate expansion assignment operator to accomplish a similar thing without the self referencing.

Note: This patch is dependent on changes to oe-core, specifically:
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/003145.html

Cc Tom Zanussi <[email protected]>
Cc Phill Blundell <[email protected]>
Cc Koen Kooi <[email protected]>
---
 .../linux/linux-yocto-stable_git.bbappend          |    2 +-
 .../recipes-kernel/linux/linux-yocto_git.bbappend  |    2 +-
 .../linux/linux-yocto-stable_git.bbappend          |    2 +-
 .../recipes-kernel/linux/linux-yocto_git.bbappend  |    2 +-
 .../linux/linux-yocto-stable_git.bbappend          |    2 +-
 .../recipes-kernel/linux/linux-yocto_git.bbappend  |    2 +-
 .../linux/linux-yocto-stable_git.bbappend          |    2 +-
 .../recipes-kernel/linux/linux-yocto_git.bbappend  |    2 +-
 .../linux/linux-yocto-stable_git.bbappend          |    2 +-
 .../recipes-kernel/linux/linux-yocto_git.bbappend  |    2 +-
 .../recipes-kernel/linux/linux-yocto_git.bbappend  |    2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)
meta-crownbay/recipes-kernel/linux/linux-yocto-stable_git.bbappend +1 -1
index 44f892f..570f8d4 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 COMPATIBLE_MACHINE_crownbay = "crownbay"
 KMACHINE_crownbay  = "crownbay"
meta-crownbay/recipes-kernel/linux/linux-yocto_git.bbappend +1 -1
index 387c207..cdae000 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 COMPATIBLE_MACHINE_crownbay = "crownbay"
 KMACHINE_crownbay  = "yocto/standard/crownbay"
meta-emenlow/recipes-kernel/linux/linux-yocto-stable_git.bbappend +1 -1
index 09234dc..77a665d 100644
@@ -1,3 +1,3 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 COMPATIBLE_MACHINE_emenlow = "emenlow"
 KMACHINE_emenlow  = "emenlow"
meta-emenlow/recipes-kernel/linux/linux-yocto_git.bbappend +1 -1
index 3d7e021..05307b7 100644
@@ -1,3 +1,3 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 COMPATIBLE_MACHINE_emenlow = "emenlow"
 KMACHINE_emenlow  = "yocto/standard/emenlow"
meta-fishriver/recipes-kernel/linux/linux-yocto-stable_git.bbappend +1 -1
index 8003c93..dcc4534 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 COMPATIBLE_MACHINE_fishriver = "crownbay"
 KMACHINE_fishriver  = "crownbay"
meta-fishriver/recipes-kernel/linux/linux-yocto_git.bbappend +1 -1
index 2e12221..ba38dbe 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 COMPATIBLE_MACHINE_fishriver = "fishriver"
 # zzzz /yocto/standard/crownbay->fishriver
 KMACHINE_fishriver  = "yocto/standard/crownbay"
meta-jasperforest/recipes-kernel/linux/linux-yocto-stable_git.bbappend +1 -1
index a6e31d0..bd6bada 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 COMPATIBLE_MACHINE_jasperforest = "jasperforest"
 KMACHINE_jasperforest  = "jasperforest"
meta-jasperforest/recipes-kernel/linux/linux-yocto_git.bbappend +1 -1
index 5781326..abceb18 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 COMPATIBLE_MACHINE_jasperforest = "jasperforest"
 
meta-n450/recipes-kernel/linux/linux-yocto-stable_git.bbappend +1 -1
index 73a3ee3..18d4999 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 KMACHINE_n450 = "atom-pc"
 COMPATIBLE_MACHINE_n450 = "n450"
 
meta-n450/recipes-kernel/linux/linux-yocto_git.bbappend +1 -1
index 92d666f..d52a90a 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 KMACHINE_n450 = "yocto/standard/common-pc/atom-pc"
 COMPATIBLE_MACHINE_n450 = "n450"
 
meta-sugarbay/recipes-kernel/linux/linux-yocto_git.bbappend +1 -1
index c1b9a9e..72d00ec 100644
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS := "${FILESEXTRAPATHS}:${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 COMPATIBLE_MACHINE_sugarbay = "sugarbay"
 KMACHINE_sugarbay  = "yocto/standard/common-pc-64/sugarbay"
Signature · 1 line
1.7.1