mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
devtool.py: fix buildclean test
when build with EXTERNALSRC, checksum of EXTERNALSRC is one of inputs for generate sigdata of task do_compile. without change any source, the sigdata will not changed, and buildclean task only do make clean, and not clean stampfiles like clean task, so the stampfile keep there, then do_compile after do_buildclean will not rerun, and targetfile tempdir_mdadm/mdadm will not be generated, report below error: AssertionError: '/tmp/devtoolqarxv8ct6u/mdadm' does not exist Fix by add a comments in Makefile to trigger rebuild of compile task (From OE-Core rev: f4621cf4516f9de9980f3864a193f3f61c4abedc) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c08c61d2f1
commit
299a3e5975
@@ -604,6 +604,7 @@ class DevtoolModifyTests(DevtoolBase):
|
||||
bitbake('mdadm m4 -c buildclean')
|
||||
assertNoFile(tempdir_mdadm, 'mdadm')
|
||||
assertNoFile(builddir_m4, 'src/m4')
|
||||
runCmd('echo "#Trigger rebuild" >> %s/Makefile' % tempdir_mdadm)
|
||||
bitbake('mdadm m4 -c compile')
|
||||
assertFile(tempdir_mdadm, 'mdadm')
|
||||
assertFile(builddir_m4, 'src/m4')
|
||||
|
||||
Reference in New Issue
Block a user