summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-03-11 10:00:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:41:55 +0000
commit8a9ac1de34e6c23dc04fb1464ad2285d43ad3584 (patch)
tree5795839db49bca001611b1b7110257b503b62433
parent66a4d8bf6e7df5856da9235c1b651ab2347027b1 (diff)
downloadpoky-8a9ac1de34e6c23dc04fb1464ad2285d43ad3584.tar.gz
devshell: allow the starting directory to be overridden
Some people like to have the devshell start in ${B} instead of ${S}, so allow this to be overridden. (From OE-Core rev: 217af639d13258429949b14c67110650288cba7a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/devshell.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass
index 41164a3f33..4451436473 100644
--- a/meta/classes/devshell.bbclass
+++ b/meta/classes/devshell.bbclass
@@ -17,7 +17,9 @@ python do_devshell () {
17 17
18addtask devshell after do_patch 18addtask devshell after do_patch
19 19
20do_devshell[dirs] = "${S}" 20# The directory that the terminal starts in
21DEVSHELL_STARTDIR ?= "${S}"
22do_devshell[dirs] = "${DEVSHELL_STARTDIR}"
21do_devshell[nostamp] = "1" 23do_devshell[nostamp] = "1"
22 24
23# devshell and fakeroot/pseudo need careful handling since only the final 25# devshell and fakeroot/pseudo need careful handling since only the final