[U-Boot] [PATCH] Makefile: Update minimum dtc version to 1.4.3

Stephen Warren swarren at wwwdotorg.org
Fri Sep 15 17:33:23 UTC 2017


On 09/15/2017 11:15 AM, Tom Rini wrote:
> With support for overlays and calling the -@ flag to dtc we need to have
> at least 1.4.3 available now.

> diff --git a/Makefile b/Makefile

>   checkdtc:
> -	@if test $(call dtc-version) -lt 0104; then \
> -		echo '*** Your dtc is too old, please upgrade to dtc 1.4 or newer'; \
> +	@if test $(call dtc-version) -lt 010403; then \
> +		echo '*** Your dtc is too old, please upgrade to dtc 1.4.3 or newer'; \
>   		false; \
>   	fi

Can we add a comment here indicating that .travis.yml must be updated 
too if the version requirement changes, and similarly a comment in 
.travis.yml that mentions it must be kept in sync with the checkdtc rule 
in Makefile?

For users, it's a bit annoying that we need a newer dtc that is present 
in distros, without any deprecation warning from the Makefile for a 
couple releases before:-(


More information about the U-Boot mailing list