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.bbclass13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass
new file mode 100644
index 0000000000..7948b65418
--- /dev/null
+++ b/meta/classes/devshell.bbclass
@@ -0,0 +1,13 @@
1EXTRA_OEMAKE[export] = 1
2
3do_devshell[dirs] = "${S}"
4do_devshell[nostamp] = 1
5do_devshell[interactive] = 1
6devshell_do_devshell() {
7 bash -i
8}
9addtask devshell
10
11
12EXPORT_FUNCTIONS do_devshell
13