summaryrefslogtreecommitdiffstats
path: root/meta/classes/devshell.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-08-30 22:11:12 +0000
committerRichard Purdie <richard@openedhand.com>2006-08-30 22:11:12 +0000
commitb9f06d1671aa2606810aa9edd1c056c5c2d3cf74 (patch)
treefc5aa0eef637e2a94ef3888f705e530120ecdf25 /meta/classes/devshell.bbclass
parentc1ab349f631a881104cca6615c8bbe365e0ef057 (diff)
downloadpoky-b9f06d1671aa2606810aa9edd1c056c5c2d3cf74.tar.gz
devshell: Convert to its own class and add to poky.conf by default. Export EXTRA_OEMAKE to devshell.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@683 311d38ba-8fff-0310-9ca6-ca027cbcb966
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