From: Haixiao Yan Date: Mon, 29 Sep 2025 02:56:44 +0000 (+0800) Subject: syslinux: clean old object and dependency files before do_install X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d49c59ee9cb3c625c29b04c7e74224c9b5dadbfa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Haixiao Yan Signed-off-by: Mathieu Dubois-Briand --- 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() { # # Tasks for target which ship the precompiled bootloader and installer # -do_configure:class-target() { - # No need to do anything as we're mostly shipping the precompiled binaries - : -} - do_compile:class-target() { # No need to do anything as we're mostly shipping the precompiled binaries :