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-04 15:16:03 +0100
commit367c76f8f0bf367e6b33b8f122e859c579e66496 (patch)
treea9470652d6f1a232d488592d6caa03be418cc753
parentb70dd48512e53f08c83b2476e070c3b8adf83d51 (diff)
downloadpoky-367c76f8f0bf367e6b33b8f122e859c579e66496.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.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 :