summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-23 04:50:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-02 18:15:27 +0100
commit4baae7875d3d163bc4954b01f0d5a254dad077b2 (patch)
treecde87dcbde8b403b99639f81f9d8e322553c328c /bitbake
parentd1a84c9f3d387bfeaeaa0007dda8d90164633255 (diff)
downloadast2050-yocto-poky-4baae7875d3d163bc4954b01f0d5a254dad077b2.zip
ast2050-yocto-poky-4baae7875d3d163bc4954b01f0d5a254dad077b2.tar.gz
fetch2/git: Allow to specify the name of the checkout directory
(Bitbake rev: 639db8c766cada7180f9447f51303f9b30d7e817) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/git.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index ff7c33d..9a578ae 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -213,7 +213,8 @@ class Git(FetchMethod):
else:
readpathspec = ""
- destdir = os.path.join(destdir, "git/")
+ destsuffix = ud.parm.get("destsuffix", "git/")
+ destdir = os.path.join(destdir, destsuffix)
if os.path.exists(destdir):
bb.utils.prunedir(destdir)
OpenPOWER on IntegriCloud