Skip to content

Commit c76a39f

Browse files
authored
Change condition to check CHIP_VARIANT instead of IDF_TARGET
1 parent d4cf6f9 commit c76a39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/copy-mem-variant.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ mv "build/config/sdkconfig.h" "$AR_SDK/$MEMCONF/include/sdkconfig.h"
3232
for mem_variant in `jq -c '.mem_variants_files[]' configs/builds.json`; do
3333
skip_file=1
3434
for file_target in $(echo "$mem_variant" | jq -c '.targets[]' | tr -d '"'); do
35-
if [ "$file_target" == "$IDF_TARGET" ]; then
35+
if [ "$file_target" == "$CHIP_VARIANT" ]; then
3636
skip_file=0
3737
break
3838
fi

0 commit comments

Comments
 (0)