Closed evadot closed 7 years ago
I've merged this, but I wonder if 'gnu' is correct here: it's GPL'd, but not a GNU project. Does GPL dtc have any other name, or some string that u-boot looks for?
Right, gpl compatible might be better, I'll open a new pull request to change that. U-Boot just take the last word (awk '{print $NF}') and use this to check the version. GPL dtc just print the same line but DTC is upper cased.
Version output should be on stdout as most of the tools that parse this information don't play with redirection. Also add a 'gnu compatible' version (For now matching on 1.4.0) U-Boot check the version for some target so we need some compliance on this.
Signed-off-by: Emmanuel Vadot manu@freebsd.org