Poky Project Discussions
 help / color / mirror / Atom feed
* [PATCH] Need override for TEMPLATECONF
@ 2011-04-25 19:49 Gary Thomas
  0 siblings, 0 replies; only message in thread
From: Gary Thomas @ 2011-04-25 19:49 UTC (permalink / raw)
  To: Poky Project

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

The recently upgraded scripts used to setup the build environment
have made it so that a distribution/layer can no longer provide
the build templates.  This patch restores that possibility.

Note: my patch that created this functionality allowed for the
distribution/layers to provide XXX/conf/local.conf as well as
XXX/conf/local.conf.sample  Any comments on why that was removed?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: 0001-oe-setup-builddir-Allow-template-directory-to-be-ove.patch --]
[-- Type: text/x-patch, Size: 775 bytes --]

From e3370ac5f4e902dd517cb196cfe416c96d309210 Mon Sep 17 00:00:00 2001
From: Gary Thomas <gary@mlbassoc.com>
Date: Mon, 25 Apr 2011 13:43:39 -0600
Subject: [PATCH] oe-setup-builddir: Allow template directory to be overridden

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
---
 scripts/oe-setup-builddir |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 58c9ad6..5b20488 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -37,7 +37,7 @@ fi
 
 cd "$BUILDDIR"
 
-TEMPLATECONF=meta-yocto/conf
+TEMPLATECONF=${TEMPLATECONF:-meta-yocto/conf}
 
 # 
 # $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-25 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-25 19:49 [PATCH] Need override for TEMPLATECONF Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox