From 38ac8bbbe450343e8545a44f370ff9da57cbed26 Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Thu, 2 Mar 2023 11:20:44 +0100 Subject: [PATCH] feat(st): mandate dtc version 1.4.7 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 Change-Id: I06bde289cf359a7383694e4c86991dfba781e7d7 --- plat/st/common/common_rules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/st/common/common_rules.mk b/plat/st/common/common_rules.mk index 302624e8d..fa48dfcff 100644 --- a/plat/st/common/common_rules.mk +++ b/plat/st/common/common_rules.mk @@ -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 -- 2.39.5