summaryrefslogtreecommitdiffstats
path: root/meta/classes/devshell.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/devshell.bbclass')
-rw-r--r--meta/classes/devshell.bbclass24
1 files changed, 6 insertions, 18 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass
index 5f262f426e..ddb6e55303 100644
--- a/meta/classes/devshell.bbclass
+++ b/meta/classes/devshell.bbclass
@@ -1,22 +1,10 @@
1do_devshell[dirs] = "${S}" 1inherit terminal
2do_devshell[nostamp] = "1"
3 2
4XAUTHORITY ?= "${HOME}/.Xauthority" 3python do_devshell () {
5 4 oe_terminal(d.getVar('SHELL', True), 'OpenEmbedded Developer Shell', d)
6devshell_do_devshell() {
7 export DISPLAY='${DISPLAY}'
8 export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}'
9 export XAUTHORITY='${XAUTHORITY}'
10 export TERMWINDOWTITLE="Bitbake Developer Shell"
11 export EXTRA_OEMAKE='${EXTRA_OEMAKE}'
12 export SHELLCMDS="bash"
13 ${TERMCMDRUN}
14 if [ $? -ne 0 ]; then
15 echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
16 exit 1
17 fi
18} 5}
19addtask devshell after do_patch
20 6
21EXPORT_FUNCTIONS do_devshell 7addtask devshell after do_patch
22 8
9do_devshell[dirs] = "${S}"
10do_devshell[nostamp] = "1"