summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass10
-rw-r--r--meta/classes/devshell.bbclass13
2 files changed, 14 insertions, 9 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index eef0efa926..940e7ac7a4 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -572,14 +572,6 @@ addtask build after do_populate_staging
572do_build = "" 572do_build = ""
573do_build[func] = "1" 573do_build[func] = "1"
574 574
575do_devshell[dirs] = "${S}"
576do_devshell[nostamp] = 1
577do_devshell[interactive] = 1
578base_do_devshell() {
579 bash -i
580}
581addtask devshell
582
583# Functions that update metadata based on files outputted 575# Functions that update metadata based on files outputted
584# during the build process. 576# during the build process.
585 577
@@ -695,7 +687,7 @@ python () {
695# Patch handling 687# Patch handling
696inherit patch 688inherit patch
697 689
698EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_devshell 690EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage
699 691
700MIRRORS[func] = "0" 692MIRRORS[func] = "0"
701MIRRORS () { 693MIRRORS () {
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