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 @@ -24,12 +24,19 @@ apps=$WD/../apps
2424tools=$WD /../tools
2525prebuilt=$WD /../prebuilt
2626
27- install=" gen-romfs gperf kconfig-frontends arm-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain c-cache"
27+ install=" python-tools gen-romfs gperf kconfig-frontends arm-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain c-cache"
2828
2929function add_path {
3030 PATH=$1 :$PATH
3131}
3232
33+ function python-tools {
34+ # Python User Env
35+ PIP_USER=yes
36+ PYTHONUSERBASE=$prebuilt /pylocal
37+ add_path $PYTHONUSERBASE /bin
38+ }
39+
3340function gen-romfs {
3441 add_path $prebuilt /genromfs/usr/bin
3542
@@ -118,6 +125,7 @@ function xtensa-esp32-gcc-toolchain {
118125 rm xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-rc2-linux-amd64.tar
119126 fi
120127 xtensa-esp32-elf-gcc --version
128+ pip install esptool
121129}
122130
123131function c-cache {
You can’t perform that action at this time.
0 commit comments