diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/base.bbclass | 7 |
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 | |||
937 | addtask populate_staging after do_install | 937 | addtask populate_staging after do_install |
938 | 938 | ||
939 | python do_populate_staging () { | 939 | python 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 | ||
943 | addtask install after do_compile | 948 | addtask install after do_compile |