]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(st): mandate dtc version 1.4.7
authorYann Gautier <yann.gautier@foss.st.com>
Thu, 2 Mar 2023 10:20:44 +0000 (11:20 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 15 Mar 2023 17:08:26 +0000 (18:08 +0100)
To be able to use /omit-if-no-ref/ in DT files, the dtc version should
be at least 1.4.7. Update the makefile rule that checks dtc version.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I06bde289cf359a7383694e4c86991dfba781e7d7

plat/st/common/common_rules.mk

index 302624e8d78478985308daef8e5b69f90cfad204..fa48dfcffa399e4b0959947a2ad8a59bac22f9c5 100644 (file)
@@ -35,8 +35,8 @@ clean_stm32image:
        ${Q}${MAKE} --no-print-directory -C ${STM32IMAGEPATH} clean
 
 check_dtc_version:
-       @if [ ${DTC_VERSION} -lt 10404 ]; then \
-               echo "dtc version too old (${DTC_V}), you need at least version 1.4.4"; \
+       @if [ ${DTC_VERSION} -lt 10407 ]; then \
+               echo "dtc version too old (${DTC_V}), you need at least version 1.4.7"; \
                false; \
        fi