All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] A couple yocto-bsp fixes
@ 2012-04-18 21:26 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 2/2] yocto-bsp: clarify help with reference to meta-intel tom.zanussi
  0 siblings, 2 replies; 15+ messages in thread
From: tom.zanussi @ 2012-04-18 21:26 UTC (permalink / raw)
  To: yocto

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

Fixes for a couple yocto-bsp bugs.

The following changes since commit 1a03b7dfba464fde770ba69b618427d13e0a3b8b:
  Scott Rifenbark (1):
        documentation/bsp-guide/bsp.xml: spelling corrected.

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.cgi//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   |   40 ++++++++++++++++++++++++++++++++++++++++
 scripts/lib/bsp/kernel.py |    7 ++++++-
 2 files changed, 46 insertions(+), 1 deletions(-)



^ permalink raw reply	[flat|nested] 15+ 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; 15+ 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] 15+ messages in thread
* [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf
  2012-04-30 19:12 ` [PATCH 0/2] A couple yocto-bsp fixes, v3 tom.zanussi
@ 2012-04-30 19:12 tom.zanussi
  2012-04-30 19:12 ` [PATCH 0/2] A couple yocto-bsp fixes, v3 tom.zanussi
  0 siblings, 1 reply; 15+ messages in thread
From: tom.zanussi @ 2012-04-30 19:12 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] 15+ messages in thread

end of thread, other threads:[~2012-04-30 23:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 21:26 [PATCH 0/2] A couple yocto-bsp fixes tom.zanussi
2012-04-18 21:26 ` [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
2012-04-27 23:56   ` Darren Hart
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
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-30 19:12 [PATCH 1/2] yocto-kernel: use BUILDDIR to find bblayers.conf tom.zanussi
2012-04-30 19:12 ` [PATCH 0/2] A couple yocto-bsp fixes, v3 tom.zanussi
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

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.