Skip to contentSkip to conversation

yocto-bsp: fix for xserver-xorg-config bbappend FILESPATH

PATCH Applied [email protected] 2 participants 4 messages Sep 29, 2012 – Oct 2, 2012

lore
Share & tools
lore
#0 lore raw

cover yocto-bsp: fix for xserver-xorg-config bbappend FILESPATH

From: Tom Zanussi <[email protected]>

This patchset fixes Yocto bug Bug 3158 [xserver-xorg-config_0.1.bbappend bsp FILESPATH not set in a robust manner].

It also removes a few 'test' config options left in a couple of the machine templates.

The following changes since commit 7c39c87d52c20e47cf90275a16e4517a296c8388:

documentation: adt-manual, yocto-project-qs - Added tarball installer info (2012-09-28 17:54:28 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/yocto-bsp-filesextrapaths
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/yocto-bsp-filesextrapaths

Tom Zanussi (2):
yocto-bsp: use FILESEXTRAPATHS for xserver-xf86-config bbappends
yocto-bsp: remove 'test' options from user-config.cfg

 .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
 .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
 .../target/arch/powerpc/recipes-kernel/linux/files/user-config.cfg    | 4 ----
 .../recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend    | 3 +--
 .../target/arch/qemu/recipes-kernel/linux/files/user-config.cfg       | 4 ----
 .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
 6 files changed, 4 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.11.4
#1 lore raw

PATCH 1/2 yocto-bsp: use FILESEXTRAPATHS for xserver-xf86-config bbappends

From: Tom Zanussi <[email protected]>

The xserver-xf86-config .bbappends are still using FILESPATH - update them to use FILESEXTRAPATHS as recommended by the Poky Reference Manual and BSP Developer's Guides.

---
 .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
 .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
 .../recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend    | 3 +--
 .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
 4 files changed, 4 insertions(+), 11 deletions(-)
scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend +1 -3
index 4b8d0e6..72d991c 100644
@@ -1,3 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend +1 -3
index 4b8d0e6..72d991c 100644
@@ -1,3 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +1 -2
index d3420e0..72d991c 100644
@@ -1,2 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend +1 -3
index 4b8d0e6..72d991c 100644
@@ -1,3 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
Signature · 1 line
1.7.11.4
#2 lore raw

PATCH 2/2 yocto-bsp: remove 'test' options from user-config.cfg

From: Tom Zanussi <[email protected]>

A couple bsp templates have some options that were used for testing but aren't needed for any other reason - remove them.

---
 .../target/arch/powerpc/recipes-kernel/linux/files/user-config.cfg    | 4 ----
 .../target/arch/qemu/recipes-kernel/linux/files/user-config.cfg       | 4 ----
 2 files changed, 8 deletions(-)
scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/user-config.cfg +0 -4
index 2ee921b..e69de29 100644
@@ -1,4 +0,0 @@
-CONFIG_FTRACE_SYSCALLS=y
-CONFIG_SCHED_TRACER=y
-CONFIG_IRQSOFF_TRACER=y
-CONFIG_PREEMPT_TRACER=y
scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/user-config.cfg +0 -4
index 2ee921b..e69de29 100644
@@ -1,4 +0,0 @@
-CONFIG_FTRACE_SYSCALLS=y
-CONFIG_SCHED_TRACER=y
-CONFIG_IRQSOFF_TRACER=y
-CONFIG_PREEMPT_TRACER=y
Signature · 1 line
1.7.11.4
Applied
#3 lore raw
In reply to [email protected]
Quoted 21 lines · On 09/29/2012 04:45 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

This patchset fixes Yocto bug Bug 3158 [xserver-xorg-config_0.1.bbappend bsp FILESPATH not set in a robust manner].

It also removes a few 'test' config options left in a couple of the machine templates.

The following changes since commit 7c39c87d52c20e47cf90275a16e4517a296c8388:

   documentation: adt-manual, yocto-project-qs - Added tarball installer info (2012-09-28 17:54:28 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/yocto-bsp-filesextrapaths
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/yocto-bsp-filesextrapaths

Tom Zanussi (2):
yocto-bsp: use FILESEXTRAPATHS for xserver-xf86-config bbappends
yocto-bsp: remove 'test' options from user-config.cfg

Quoted 8 lines
  .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
  .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
  .../target/arch/powerpc/recipes-kernel/linux/files/user-config.cfg    | 4 ----
  .../recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend    | 3 +--
  .../target/arch/qemu/recipes-kernel/linux/files/user-config.cfg       | 4 ----
  .../{{ if xserver == \"y\": }} xserver-xf86-config_0.1.bbappend"      | 4 +---
  6 files changed, 4 insertions(+), 19 deletions(-)

Merged into Poky Master

Thanks
Sau!