diff options
author | Gary Thomas <gary@mlbassoc.com> | 2011-04-25 13:49:50 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-03 12:12:16 +0100 |
commit | 29ea5ad86c06bf917483e558d57effcbfabc2b63 (patch) | |
tree | 63acd3b4584e361eb50feaaf591a8d699d536180 /scripts/oe-setup-builddir | |
parent | 28e7041a9c110be2ac5dea1eb1f55ca8f056111e (diff) | |
download | poky-29ea5ad86c06bf917483e558d57effcbfabc2b63.tar.gz |
Need override for TEMPLATECONF
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
------------------------------------------------------------
>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>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-x | 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 58c9ad67e1..5b204885e1 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
@@ -37,7 +37,7 @@ fi | |||
37 | 37 | ||
38 | cd "$BUILDDIR" | 38 | cd "$BUILDDIR" |
39 | 39 | ||
40 | TEMPLATECONF=meta-yocto/conf | 40 | TEMPLATECONF=${TEMPLATECONF:-meta-yocto/conf} |
41 | 41 | ||
42 | # | 42 | # |
43 | # $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf | 43 | # $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf |