1.修改DTC版本使编译报警告的问题

This commit is contained in:
payton 2023-10-07 09:46:15 +08:00
parent 19a5bd3278
commit e68537a0d7

View File

@ -3,7 +3,7 @@ NVT_CFG_DTS="nvt-evb"
#C_DEFINE_EXT = -DBIN_NAME='"$(BIN_NAME)"' \
# -DEMBMEM='"$(EMBMEM)"'
DTC_VER=$(shell ver=`dtc -v | awk -F' ' '{print $$NF}' | awk -F'-' '{print $$(NF-1)}'`; echo "$$ver" | sed 's/[^a-zA-Z0-9]//g')
DTC_CFLAGS=$(shell echo "-W no-unit_address_format -W no-unit_address_vs_reg")
DTC_CFLAGS=$(shell echo "-W no-unit_address_format -W no-unit_address_vs_reg -W no-unique_unit_address")
define gen_model_cfg_link
MODEL=`echo $(NVT_PRJCFG_MODEL_CFG) | awk -F'/' '{print $$(NF-1)}'`;\