u-boot top makefile
A message that is not in the archive (sent off-list or not yet received): [email protected]
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. Regards,
/Val
Quoted 8 lines · Val Shkolnikov
Hello,
I would like to modify the topMakefiletargetscripts_dtcrecipe. 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 thescripts/dtc-version.shcalled 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.
Signature · 1 line
Tom