]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Add devshell task. Trigger as bitbake somepackage -c devshell which...
authorRichard Purdie <richard@openedhand.com>
Wed, 30 Aug 2006 21:28:55 +0000 (21:28 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 30 Aug 2006 21:28:55 +0000 (21:28 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@682 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/base.bbclass

index 940e7ac7a49ba74a155844427c8649f1e3c75cf4..eef0efa9266dac5f6f8b5ab2d76fe4e0cd720da4 100644 (file)
@@ -572,6 +572,14 @@ addtask build after do_populate_staging
 do_build = ""
 do_build[func] = "1"
 
+do_devshell[dirs] = "${S}"
+do_devshell[nostamp] = 1
+do_devshell[interactive] = 1
+base_do_devshell() {
+       bash -i
+}
+addtask devshell
+
 # Functions that update metadata based on files outputted
 # during the build process.
 
@@ -687,7 +695,7 @@ python () {
 # Patch handling
 inherit patch
 
-EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage
+EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_devshell
 
 MIRRORS[func] = "0"
 MIRRORS () {