public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [OE-core][PATCH v2] syslinux: clean old object and dependency files before do_install
@ 2025-09-29  2:56 haixiao.yan.cn
  0 siblings, 0 replies; 2+ messages in thread
From: haixiao.yan.cn @ 2025-09-29  2:56 UTC (permalink / raw)
  To: openembedded-core

From: Haixiao Yan <haixiao.yan.cn@windriver.com>

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>
---
 meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb | 5 -----
 1 file changed, 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 449a75ebf8ab..59f1e936eff9 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
 	:
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [OE-core][PATCH v2] syslinux: clean old object and dependency files before do_install
       [not found] <1869A174E96D7910.29244@lists.openembedded.org>
@ 2025-10-11 12:49 ` Yan, Haixiao (CN)
  0 siblings, 0 replies; 2+ messages in thread
From: Yan, Haixiao (CN) @ 2025-10-11 12:49 UTC (permalink / raw)
  To: openembedded-core

ping

On 9/29/2025 10:56 AM, Yan, Haixiao (CN) via lists.openembedded.org wrote:
> From: Haixiao Yan <haixiao.yan.cn@windriver.com>
>
> 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>
> ---
>   meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb | 5 -----
>   1 file changed, 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 449a75ebf8ab..59f1e936eff9 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
>   	:
>
> -=-=-=-=-=-=-=-=-=-=-=-
> 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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Haixiao.Yan.CN@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-11 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1869A174E96D7910.29244@lists.openembedded.org>
2025-10-11 12:49 ` [OE-core][PATCH v2] syslinux: clean old object and dependency files before do_install Yan, Haixiao (CN)
2025-09-29  2:56 haixiao.yan.cn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox