File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ SKIP_ENV=0
16
16
COPY_OUT=0
17
17
ARCHIVE_OUT=1
18
18
DEPLOY_OUT=0
19
+ CCACHE_ENABLE=1
19
20
20
21
function print_help() {
21
- 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 ...]"
22
+ 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 ...]"
22
23
echo " -s Skip installing/updating of ESP-IDF and all components"
24
+ echo " -n Disable ccache"
23
25
echo " -A Set which branch of arduino-esp32 to be used for compilation"
24
26
echo " -I Set which branch of ESP-IDF to be used for compilation"
25
27
echo " -i Set which commit of ESP-IDF to be used for compilation"
@@ -35,6 +37,9 @@ while getopts ":A:I:i:c:t:b:sde" opt; do
35
37
s )
36
38
SKIP_ENV=1
37
39
;;
40
+ n )
41
+ CCACHE_ENABLE=0
42
+ ;;
38
43
e )
39
44
ARCHIVE_OUT=1
40
45
;;
75
80
shift $(( OPTIND - 1 ))
76
81
CONFIGS=$@
77
82
83
+ export IDF_CCACHE_ENABLE=$CCACHE_ENABLE
84
+
78
85
# Output the TARGET array
79
86
echo " TARGET(s): ${TARGET[@]} "
80
87
You can’t perform that action at this time.
0 commit comments