All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] A couple yocto-bsp fixes, v3
@ 2012-04-30 19:12 tom.zanussi
  2012-04-30 19:12 ` [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: tom.zanussi @ 2012-04-30 19:12 UTC (permalink / raw)
  To: yocto

From: Tom Zanussi <tom.zanussi@intel.com>

Fixes for a couple yocto-bsp bugs.

v2: fixed up the yocto-bsp help text as suggested by Darren Hart.
v3: fixed more of the yocto-bsp help text as suggested by William Mills.

The following changes since commit f39ba520d6f2477c99839a92049b1bb279f092cf:
  Richard Purdie (1):
        qt-4.8.1: Fix compile failures on qemux86

are available in the git repository at:

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

Tom Zanussi (2):
  yocto-kernel: use BUILDDIR to find bblayers.conf
  yocto-bsp: clarify help with reference to meta-intel

 scripts/lib/bsp/help.py   |   48 +++++++++++++++++++++++++++++++++++++++++---
 scripts/lib/bsp/kernel.py |    7 +++++-
 2 files changed, 50 insertions(+), 5 deletions(-)



^ permalink raw reply	[flat|nested] 19+ messages in thread
* [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf
  2012-04-28  0:25 ` [PATCH 0/2] A couple yocto-bsp fixes, v2 tom.zanussi
@ 2012-04-28  0:25 tom.zanussi
  2012-04-28  0:25 ` [PATCH 0/2] A couple yocto-bsp fixes, v2 tom.zanussi
  0 siblings, 1 reply; 19+ messages in thread
From: tom.zanussi @ 2012-04-28  0:25 UTC (permalink / raw)
  To: yocto, dvhart

From: Tom Zanussi <tom.zanussi@intel.com>

The current code assumes that builddir == srcdir/build, which it
obviously isn't sometimes.  Use BUILDDIR to get the actual builddir
being used.

Fixes [YOCTO #2219].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 scripts/lib/bsp/kernel.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py
index 360851b..8b3aa72 100644
--- a/scripts/lib/bsp/kernel.py
+++ b/scripts/lib/bsp/kernel.py
@@ -37,7 +37,12 @@ def find_bblayers(scripts_path):
     """
     Find and return a sanitized list of the layers found in BBLAYERS.
     """
-    bblayers_conf = os.path.join(scripts_path, "../build/conf/bblayers.conf")
+    try:
+        builddir = os.environ["BUILDDIR"]
+    except KeyError:
+        print "BUILDDIR not found, exiting. (Did you forget to source oe-init-build-env?)"
+        sys.exit(1)
+    bblayers_conf = os.path.join(builddir, "conf/bblayers.conf")
 
     layers = []
 
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf
  2012-04-18 21:26 ` [PATCH 0/2] A couple yocto-bsp fixes tom.zanussi
@ 2012-04-18 21:26 tom.zanussi
  2012-04-18 21:26 ` [PATCH 0/2] A couple yocto-bsp fixes tom.zanussi
  0 siblings, 1 reply; 19+ messages in thread
From: tom.zanussi @ 2012-04-18 21:26 UTC (permalink / raw)
  To: yocto

From: Tom Zanussi <tom.zanussi@intel.com>

The current code assumes that builddir == srcdir/build, which it
obviously isn't sometimes.  Use BUILDDIR to get the actual builddir
being used.

Fixes [YOCTO #2219].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 scripts/lib/bsp/kernel.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py
index 360851b..8b3aa72 100644
--- a/scripts/lib/bsp/kernel.py
+++ b/scripts/lib/bsp/kernel.py
@@ -37,7 +37,12 @@ def find_bblayers(scripts_path):
     """
     Find and return a sanitized list of the layers found in BBLAYERS.
     """
-    bblayers_conf = os.path.join(scripts_path, "../build/conf/bblayers.conf")
+    try:
+        builddir = os.environ["BUILDDIR"]
+    except KeyError:
+        print "BUILDDIR not found, exiting. (Did you forget to source oe-init-build-env?)"
+        sys.exit(1)
+    bblayers_conf = os.path.join(builddir, "conf/bblayers.conf")
 
     layers = []
 
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-05-07 16:22 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-30 19:12 [PATCH 0/2] A couple yocto-bsp fixes, v3 tom.zanussi
2012-04-30 19:12 ` [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
2012-04-30 23:48   ` Darren Hart
2012-05-04 18:15   ` Scott Garman
2012-05-04 19:18     ` Tom Zanussi
2012-05-04 22:20       ` Scott Garman
2012-04-30 19:12 ` [PATCH 2/2] yocto-bsp: clarify help with reference to meta-intel tom.zanussi
2012-04-30 23:49   ` Darren Hart
2012-05-07 16:22 ` [PATCH 0/2] A couple yocto-bsp fixes, v3 Saul Wold
  -- strict thread matches above, loose matches on Subject: below --
2012-04-28  0:25 [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
2012-04-28  0:25 ` [PATCH 0/2] A couple yocto-bsp fixes, v2 tom.zanussi
2012-04-28  0:25   ` [PATCH 2/2] yocto-bsp: clarify help with reference to meta-intel tom.zanussi
2012-04-28  5:44     ` Darren Hart
2012-04-28  5:51       ` Tom Zanussi
2012-04-18 21:26 [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
2012-04-18 21:26 ` [PATCH 0/2] A couple yocto-bsp fixes tom.zanussi
2012-04-18 21:26   ` [PATCH 2/2] yocto-bsp: clarify help with reference to meta-intel tom.zanussi
2012-04-28  0:01     ` Darren Hart
2012-04-28  0:26       ` Tom Zanussi
2012-04-30 17:31       ` William Mills
2012-04-30 17:36         ` Darren Hart
2012-04-30 18:33           ` Autif Khan
2012-04-30 19:13         ` Tom Zanussi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.