summaryrefslogtreecommitdiff
path: root/classes/devshell.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-10-31 10:12:59 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-10-31 10:12:59 +0000
commit339fe4355dd32ffe9d583f9c7be8582f78009ebf (patch)
tree8e7486766abc0be48a127a8f9a3da47a60c42df2 /classes/devshell.bbclass
parent366aedf113c20538a6628eb1a880c4b2800812db (diff)
Add devshell.bbclass (from poky). Requires bitbake trunk. Use as 'bitbake target -c devshell'
Diffstat (limited to 'classes/devshell.bbclass')
-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
+