porting: Don't include logcfg in ports

logcfg is not used in porting anymore.
This commit is contained in:
Szymon Janc
2024-02-23 14:55:39 +01:00
parent c102b8b246
commit 0b59865e3a
+2
View File
@@ -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.