File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 18
18
# Fixes building some components. See https://github.com/espressif/arduino-esp32/issues/10167
19
19
export IDF_COMPONENT_OVERWRITE_MANAGED_COMPONENTS=1
20
20
21
+ CCACHE_ENABLE=1
22
+
21
23
export TARGET=" all"
22
24
BUILD_TYPE=" all"
23
25
SKIP_ENV=0
@@ -26,8 +28,9 @@ ARCHIVE_OUT=1
26
28
DEPLOY_OUT=0
27
29
28
30
function print_help() {
29
- echo " Usage: build.sh [-s] [-A <arduino_branch>] [-I <idf_branch>] [-i <idf_commit>] [-c <path>] [-t <target>] [-b <build|menuconfig|reconfigure|idf-libs|copy-bootloader|mem-variant>] [config ...]"
31
+ echo " Usage: build.sh [-s] [-n] [- A <arduino_branch>] [-I <idf_branch>] [-i <idf_commit>] [-c <path>] [-t <target>] [-b <build|menuconfig|reconfigure|idf-libs|copy-bootloader|mem-variant>] [config ...]"
30
32
echo " -s Skip installing/updating of ESP-IDF and all components"
33
+ echo " -n Disable ccache"
31
34
echo " -A Set which branch of arduino-esp32 to be used for compilation"
32
35
echo " -I Set which branch of ESP-IDF to be used for compilation"
33
36
echo " -i Set which commit of ESP-IDF to be used for compilation"
@@ -43,6 +46,9 @@ while getopts ":A:I:i:c:t:b:sde" opt; do
43
46
s )
44
47
SKIP_ENV=1
45
48
;;
49
+ n )
50
+ CCACHE_ENABLE=0
51
+ ;;
46
52
e )
47
53
ARCHIVE_OUT=1
48
54
;;
83
89
shift $(( OPTIND - 1 ))
84
90
CONFIGS=$@
85
91
92
+ export IDF_CCACHE_ENABLE=$CCACHE_ENABLE
93
+
86
94
# Output the TARGET array
87
95
echo " TARGET(s): ${TARGET[@]} "
88
96
You can’t perform that action at this time.
0 commit comments