mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
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>
This commit is contained in:
@@ -937,7 +937,12 @@ do_populate_staging[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGE
|
||||
addtask populate_staging after do_install
|
||||
|
||||
python do_populate_staging () {
|
||||
bb.build.exec_func('do_stage', d)
|
||||
#
|
||||
# Only run do_stage if its not the empty default above
|
||||
#
|
||||
stagefunc = bb.data.getVar('do_stage', d, 1).strip()
|
||||
if stagefunc != "base_do_stage":
|
||||
bb.build.exec_func('do_stage', d)
|
||||
}
|
||||
|
||||
addtask install after do_compile
|
||||
|
||||
Reference in New Issue
Block a user