summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/devshell.bbclass13
1 files changed, 13 insertions, 0 deletions
diff --git a/classes/devshell.bbclass b/classes/devshell.bbclass
new file mode 100644
index 0000000000..118e5e4a2a
--- /dev/null
+++ b/classes/devshell.bbclass
@@ -0,0 +1,13 @@
+EXTRA_OEMAKE[export] = 1
+
+do_devshell[dirs] = "${S}"
+do_devshell[nostamp] = 1
+do_devshell[interactive] = 1
+devshell_do_devshell() {
+ bash -i
+}
+addtask devshell after do_patch
+
+
+EXPORT_FUNCTIONS do_devshell
+