diff options
author | Haixiao Yan <haixiao.yan.cn@windriver.com> | 2025-09-29 10:56:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 17:51:38 +0100 |
commit | ca349e1d29d24fae1e1963fe8ee996762b99eed8 (patch) | |
tree | 564d2b26139ad361f09570ae5307bcf2fd3f312f | |
parent | face3ce5f93929dc1326571fe6f71044b6a2b83c (diff) | |
download | poky-ca349e1d29d24fae1e1963fe8ee996762b99eed8.tar.gz |
syslinux: clean old object and dependency files before do_install
Remove all previous .o and .d files from OBJ directories before
running do_install. This prevents stale build artifacts from
interfering with the installation of new binaries and modules,
especially after GCC upgrades that can invalidate existing dependency
files, such as:
make[4]: *** No rule to make target
'/build/tmp-glibc/work/corei7-64-wrs-linux/syslinux/6.04-pre2-r1/recipe-sysroot-native/
usr/lib/x86_64-wrs-linux/gcc/x86_64-wrs-linux/12.4.0/include/stdarg.h',
needed by 'zlib/adler32.o'. Stop.
(From OE-Core rev: f52d55517eafe752e6f65b6f50acc81ab5afe3fc)
Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb index 449a75ebf8..59f1e936ef 100644 --- a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb +++ b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb | |||
@@ -96,11 +96,6 @@ do_install() { | |||
96 | # | 96 | # |
97 | # Tasks for target which ship the precompiled bootloader and installer | 97 | # Tasks for target which ship the precompiled bootloader and installer |
98 | # | 98 | # |
99 | do_configure:class-target() { | ||
100 | # No need to do anything as we're mostly shipping the precompiled binaries | ||
101 | : | ||
102 | } | ||
103 | |||
104 | do_compile:class-target() { | 99 | do_compile:class-target() { |
105 | # No need to do anything as we're mostly shipping the precompiled binaries | 100 | # No need to do anything as we're mostly shipping the precompiled binaries |
106 | : | 101 | : |