syslinux: clean old object and dependency files before do_install
A message that is not in the archive (sent off-list or not yet received): [email protected]
ping
Quoted 43 lines · Haixiao (CN) via lists.openembedded.org
From: Haixiao Yan <[email protected]>
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 <[email protected]>--- meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb | 5 ----- 1 file changed, 5 deletions(-)meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb +0
-6@@ -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 : -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#224110): https://lists.openembedded.org/g/openembedded-core/message/224110
Mute This Topic: https://lists.openembedded.org/mt/115489669/8599992
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-