From 0b59865e3a155fed5f8b4726214f92696d198d9f Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 21 Feb 2024 10:11:03 +0100 Subject: [PATCH] porting: Don't include logcfg in ports logcfg is not used in porting anymore. --- porting/update_generated_files.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/porting/update_generated_files.sh b/porting/update_generated_files.sh index 6309ed2b2..006498e2f 100755 --- a/porting/update_generated_files.sh +++ b/porting/update_generated_files.sh @@ -33,6 +33,8 @@ declare -A targets=( for target in "${!targets[@]}"; do echo "Updating target $target" newt build "@apache-mynewt-nimble/porting/targets/$target" > /dev/null 2>&1 + # logcfg is not used in ports + rm -rf "bin/@apache-mynewt-nimble/porting/targets/${target}/generated/include/logcfg" cp "bin/@apache-mynewt-nimble/porting/targets/${target}/generated/include" "${targets[$target]}" -r # Remove repo version and hash MYNEWT_VALS as it doesn't make much sense to commit them and they # defeat the purpose of this script.