summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-10-29 23:34:41 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:21 +0000
commit764f73a033b6686a50dff71881e2491f9e990c87 (patch)
tree7a01cbe7cb18628829f1aebe506e80b723210597 /meta/classes/base.bbclass
parent483f85802a97cb9ad4d958c29458db91acc7809f (diff)
downloadpoky-764f73a033b6686a50dff71881e2491f9e990c87.tar.gz
base.bbclass: Only run do_stage if its been overwritten as the default is empty and its pointless to run it
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 0605c8a0e3..7dbac018ea 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -937,7 +937,12 @@ do_populate_staging[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGE
937addtask populate_staging after do_install 937addtask populate_staging after do_install
938 938
939python do_populate_staging () { 939python do_populate_staging () {
940 bb.build.exec_func('do_stage', d) 940 #
941 # Only run do_stage if its not the empty default above
942 #
943 stagefunc = bb.data.getVar('do_stage', d, 1).strip()
944 if stagefunc != "base_do_stage":
945 bb.build.exec_func('do_stage', d)
941} 946}
942 947
943addtask install after do_compile 948addtask install after do_compile