mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
cml1: remove needless check for write_taint attribute
The 'FIXME' comment itself says to remove this once the minimum bitbake
version has been bumped. This was in 2012.
The function was introduced in bitbake commit f7b55a94 ("bitbake:
bitbake: ensure -f causes dependent tasks to be re-run") and is already
part of bitbake 1.15.3 which is the minimum bitbake version since
'danny'.
Remove the check.
(From OE-Core rev: 035fe46fbf57ca83baf6610482ee7ee83c825a06)
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
319353cd9d
commit
356a489345
@@ -61,16 +61,14 @@ python do_menuconfig() {
|
||||
oe_terminal("sh -c 'make %s; if [ \\$? -ne 0 ]; then echo \"Command failed.\"; printf \"Press any key to continue... \"; read r; fi'" % d.getVar('KCONFIG_CONFIG_COMMAND'),
|
||||
d.getVar('PN') + ' Configuration', d)
|
||||
|
||||
# FIXME this check can be removed when the minimum bitbake version has been bumped
|
||||
if hasattr(bb.build, 'write_taint'):
|
||||
try:
|
||||
newmtime = os.path.getmtime(config)
|
||||
except OSError:
|
||||
newmtime = 0
|
||||
try:
|
||||
newmtime = os.path.getmtime(config)
|
||||
except OSError:
|
||||
newmtime = 0
|
||||
|
||||
if newmtime > mtime:
|
||||
bb.note("Configuration changed, recompile will be forced")
|
||||
bb.build.write_taint('do_compile', d)
|
||||
if newmtime > mtime:
|
||||
bb.note("Configuration changed, recompile will be forced")
|
||||
bb.build.write_taint('do_compile', d)
|
||||
}
|
||||
do_menuconfig[depends] += "ncurses-native:do_populate_sysroot"
|
||||
do_menuconfig[nostamp] = "1"
|
||||
|
||||
Reference in New Issue
Block a user