Skip to content

Commit 863a5c5

Browse files
authored
Update prepare-libs.sh
1 parent e4394ad commit 863a5c5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tools/prepare-libs.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ else
148148
fi
149149
str="$flags $libs"
150150
fi
151-
#if [ "$IDF_TARGET" = "esp32" ]; then
152-
# LD_SCRIPTS+="-T esp32.rom.redefined.ld "
153-
# PIO_LD_SCRIPTS+="esp32.rom.redefined.ld "
154-
#fi
151+
if [ "$IDF_TARGET" = "esp32" ]; then
152+
LD_SCRIPTS+="-T esp32.rom.redefined.ld "
153+
PIO_LD_SCRIPTS+="esp32.rom.redefined.ld "
154+
fi
155155
set -- $str
156156
for item; do
157157
prefix="${item:0:1}"
@@ -443,6 +443,8 @@ function copy_precompiled_lib(){
443443
mkdir -p "$AR_SDK/ld"
444444
set -- $LD_SCRIPT_DIRS
445445
for item; do
446+
item="${item%\"}"
447+
item="${item#\"}"
446448
find "$item" -name '*.ld' -exec cp -f {} "$AR_SDK/ld/" \;
447449
for lib in `find "$item" -name '*.a'`; do
448450
copy_precompiled_lib "$lib"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy