u-boot top makefile
Tom Rini
trini at konsulko.com
Wed Feb 18 21:46:21 CET 2026
On Wed, Feb 18, 2026 at 02:43:59AM -0800, Val Shkolnikov wrote:
> Hello,
> I would like to modify the top Makefile target scripts_dtc recipe.
> Currently, it's a long shell command. I'd like to separate it into a script
> in the scripts directory. The scripts of this length should not be coded
> directly in the makefile. In this particular case if $Q is unset (vebose
> mode), the whole recipe is echoed. Also echoed an "Error: " string coming
> from the scripts/dtc-version.sh called in the recipe. This confuses error
> detection tools used in our organization.
I think moving that out of the Makefile might hinder readability,
honestly. But it would be good to know what the Error you hit with
dtc-version.sh because that case should likely be handled better by our
usage in the Makefile.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260218/49eb6c59/attachment.sig>
More information about the U-Boot
mailing list