File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,7 @@ HERE="$(dirname -- "$(readlinkf_posix -- "${0}")" )"
40
40
[ -e circuitpython/py/py.mk ] || (git clone --no-recurse-submodules --depth 100 --branch 6.0.x https://github.com/adafruit/circuitpython && cd circuitpython && git submodule update --init lib/uzlib tools)
41
41
rm -rf circuitpython/extmod/ulab; ln -s " $HERE " circuitpython/extmod/ulab
42
42
make -C circuitpython/mpy-cross -j$NPROC
43
- cp circuitpython/ports/unix/mpconfigport.h circuitpython/ports/unix/mpconfigport_ulab.h
44
- sed -i ' /MICROPY_PY_UHASHLIB/s/1/0/' circuitpython/ports/unix/mpconfigport_ulab.h
43
+ sed -e ' /MICROPY_PY_UHASHLIB/s/1/0/' < circuitpython/ports/unix/mpconfigport.h > circuitpython/ports/unix/mpconfigport_ulab.h
45
44
# Work around circuitpython#3990
46
45
make -C circuitpython/ports/unix -j$NPROC DEBUG=1 MICROPY_PY_FFI=0 MICROPY_PY_BTREE=0 MICROPY_SSL_AXTLS=0 MICROPY_PY_USSL=0 CFLAGS_EXTRA=' -DMP_CONFIGFILE="<mpconfigport_ulab.h>"' build/genhdr/qstrdefs.generated.h
47
46
make -C circuitpython/ports/unix -j$NPROC DEBUG=1 MICROPY_PY_FFI=0 MICROPY_PY_BTREE=0 MICROPY_SSL_AXTLS=0 MICROPY_PY_USSL=0 CFLAGS_EXTRA=' -DMP_CONFIGFILE="<mpconfigport_ulab.h>"'
You can’t perform that action at this time.
0 commit comments