Skip to content

Commit 6e0c27a

Browse files
authored
add *.inc files
1 parent f92bb7b commit 6e0c27a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/copy-libs.sh

+6
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,12 @@ for item; do
402402
mkdir -p "$out_cpath$rel_p"
403403
cp -n $f "$out_cpath$rel_p/"
404404
done
405+
for f in `find "$item" -name '*.inc'`; do
406+
rel_f=${f#*$item}
407+
rel_p=${rel_f%/*}
408+
mkdir -p "$out_cpath$rel_p"
409+
cp -n $f "$out_cpath$rel_p/"
410+
done
405411
# Temporary measure to fix issues caused by https://github.com/espressif/esp-idf/commit/dc4731101dd567cc74bbe4d0f03afe52b7db9afb#diff-1d2ce0d3989a80830fdf230bcaafb3117f32046d16cf46616ac3d55b4df2a988R17
406412
if [[ "$fname" == "bt" && "$out_sub" == "/include/$IDF_TARGET/include" && -f "$ipath/controller/$IDF_TARGET/esp_bt_cfg.h" ]]; then
407413
mkdir -p "$AR_SDK/include/$fname/controller/$IDF_TARGET"

0 commit comments

Comments
 (0)