summaryrefslogtreecommitdiffstats
path: root/scripts/devtool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-12-22 17:03:12 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-28 09:25:14 +0000
commite11673960f039e06d03cd795c160d19d7996b91f (patch)
tree8f0870b70376833aba7f8f3c502733cb42166977 /scripts/devtool
parent110f4337f2bd12ecbfd91b222af1baad3a14788a (diff)
downloadpoky-e11673960f039e06d03cd795c160d19d7996b91f.tar.gz
devtool: modify: default source tree path
As per the changes to "devtool add", make the source tree path optional and use the default path if none is specified. (From OE-Core rev: 83707d1334fb094fd1877bcfd07a83866601048a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-xscripts/devtool4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/devtool b/scripts/devtool
index 93ba58e7a9..bda05e1c2f 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -152,6 +152,10 @@ def _create_workspace(workspacedir, config, basepath):
152 f.write('\nIf you no longer need to use devtool you can remove the path to this\n') 152 f.write('\nIf you no longer need to use devtool you can remove the path to this\n')
153 f.write('workspace layer from your conf/bblayers.conf file (and then delete the\n') 153 f.write('workspace layer from your conf/bblayers.conf file (and then delete the\n')
154 f.write('layer, if you wish).\n') 154 f.write('layer, if you wish).\n')
155 f.write('\nNote that by default, if devtool fetches and unpacks source code, it\n')
156 f.write('will place it in a subdirectory of a "sources" subdirectory of the\n')
157 f.write('layer. If you prefer it to be elsewhere you can specify the source\n')
158 f.write('tree path on the command line.\n')
155 159
156def _enable_workspace_layer(workspacedir, config, basepath): 160def _enable_workspace_layer(workspacedir, config, basepath):
157 """Ensure the workspace layer is in bblayers.conf""" 161 """Ensure the workspace layer is in bblayers.conf"""