mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-12 08:20:11 +00:00
interpreters/python: Add ctypes prototype patches for NuttX
Integrate NuttX-specific ctypes and posixmodule updates. Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
This commit is contained in:
parent
965cddfa36
commit
58b780c280
7 changed files with 55 additions and 1 deletions
|
|
@ -88,6 +88,9 @@ $(CPYTHON_UNPACKNAME): $(CPYTHON_ZIP)
|
|||
$(Q) patch -p1 -d $(CPYTHON_UNPACKNAME) < patch$(DELIM)0016-fix-timezone-offset-check-when-time-t-is-unsigned.patch
|
||||
$(Q) patch -p1 -d $(CPYTHON_UNPACKNAME) < patch$(DELIM)0017-stdlib-zip-keep-pydecimal-and-trim-tooling-extras.patch
|
||||
$(Q) patch -p1 -d $(CPYTHON_UNPACKNAME) < patch$(DELIM)0018-ignore-chmod-on-nuttx-like-wasi.patch
|
||||
$(Q) patch -p1 -d $(CPYTHON_UNPACKNAME) < patch$(DELIM)0019-undef-get_errno-set_errno-to-avoid-nuttx-macro-coll.patch
|
||||
$(Q) patch -p1 -d $(CPYTHON_UNPACKNAME) < patch$(DELIM)0020-ctypes-skip-pythonapi-on-nuttx.patch
|
||||
$(Q) patch -p1 -d $(CPYTHON_UNPACKNAME) < patch$(DELIM)0021-posixmodule-ignore-utime-enosys-on-nuttx.patch
|
||||
|
||||
$(HOSTPYTHON):
|
||||
mkdir -p $(HOSTBUILD)
|
||||
|
|
@ -128,6 +131,9 @@ $(SETUP_LOCAL):
|
|||
ifneq ($(CONFIG_ARCH_HAVE_FORK),y)
|
||||
@echo "_posixsubprocess" >> $@
|
||||
endif
|
||||
ifneq ($(CONFIG_LIBC_DLFCN),y)
|
||||
@echo "_ctypes" >> $@
|
||||
endif
|
||||
|
||||
# For the Python's `configure` script, please consider the following
|
||||
# when building for NuttX:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue