From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Issues with Freescale defconfigs
Date: Thu, 22 Nov 2018 10:45:56 +0100 [thread overview]
Message-ID: <20181122104556.1d89c074@windsurf> (raw)
Hello Fabio,
We have a similar issue with several Freescale defconfigs in Buildroot.
The U-Boot build fails with:
CFGS board/freescale/mx6qsabreauto/mx6dl.cfg.cfgtmp
CFGS board/freescale/mx6qsabreauto/mx6dl.cfg.cfgtmp
mv: cannot stat 'board/freescale/mx6qsabreauto/.mx6dl.cfg.cfgtmp.tmp': No such file or directory
arch/arm/imx-common/Makefile:75: recipe for target 'board/freescale/mx6qsabreauto/mx6dl.cfg.cfgtmp' failed
make[2]: *** [board/freescale/mx6qsabreauto/mx6dl.cfg.cfgtmp] Error 1
See:
https://gitlab.com/buildroot.org/buildroot/-/jobs/123771053
https://gitlab.com/buildroot.org/buildroot/-/jobs/123771054
https://gitlab.com/buildroot.org/buildroot/-/jobs/123771055
I started looking into this, but the problem is not really obvious.
Apparently, the if_changed_dep function does a mv:
if_changed_dep = $(if $(strip $(any-prereq) $(arg-check) ), \
@set -e; \
$(echo-cmd) $(cmd_$(1)); \
scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp;\
rm -f $(depfile); \
mv -f $(dot-target).tmp $(dot-target).cmd)
And this final mv fails because the file $(dot-target).tmp has not been
created. Indeed, the command creates mx6dl.cfg.cfgtmp, but the mv
expects .mx6dl.cfg.cfgtmp
Are you aware of this issue ? Any solution ?
Thanks a lot,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next reply other threads:[~2018-11-22 9:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-22 9:45 Thomas Petazzoni [this message]
2018-11-22 11:05 ` [Buildroot] Issues with Freescale defconfigs Fabio Estevam
2018-11-22 12:43 ` Thomas Petazzoni
2018-11-22 18:57 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181122104556.1d89c074@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.