]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Oct 2025 10:27:31 +0000 (11:27 +0100)
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

index 449a75ebf8abf1dd6865f641f696ac1b67278819..59f1e936eff9f90536e11368c8bf2cf30019b9b2 100644 (file)
@@ -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
        :