summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaixiao Yan <haixiao.yan.cn@windriver.com>2025-09-29 10:56:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-07 00:05:40 +0100
commitb5914d8f0a1475d3cefa5fc029cf5f686c5e07aa (patch)
tree7103d878f4f942cc4e619af5b626332f1bb9bbf2
parent52625b4ece4b8937628546460acbd56139700fbe (diff)
downloadpoky-b5914d8f0a1475d3cefa5fc029cf5f686c5e07aa.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: a7d4c06151f19934fb52f90357e4b7d42bdc410f) 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.bb5
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#
99do_configure:class-target() {
100 # No need to do anything as we're mostly shipping the precompiled binaries
101 :
102}
103
104do_compile:class-target() { 99do_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 :