]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
syslinux: clean old object and dependency files before do_install
authorHaixiao Yan <haixiao.yan.cn@windriver.com>
Mon, 29 Sep 2025 02:56:44 +0000 (10:56 +0800)
committerMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Mon, 20 Oct 2025 16:25:28 +0000 (18:25 +0200)
commite8375c72188b08f34b29b7cf791d94caac73bf66
tree33bc5d5213a02a5ff4e9d9c1496c5fd2151030f0
parenta1eeeb1a97b777b87f6d9d429c286125344bebe3
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 <haixiao.yan.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb