nuttx-apps/system/libffi/Kconfig
Tiago Medicci 965cddfa36 system/libffi: Add libffi package integration
Add Kconfig, build rules, and ignore entries required to build and
package libffi as a standalone system component.

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
2026-05-22 21:51:31 +08:00

24 lines
693 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config LIB_LIBFFI
bool "libffi"
default n
---help---
Enable the libffi Foreign Function Interface library. libffi
provides a portable way to call C functions with arguments
determined at runtime. It is required by CPython's _ctypes module.
if LIB_LIBFFI
config LIB_LIBFFI_VERSION
string "libffi commit hash"
default "9760868682cc9a33008761f158d86481d56738aa"
---help---
Git commit hash of the libffi repository to download and build.
The source is fetched from https://github.com/libffi/libffi at
the specified commit.
endif # LIB_LIBFFI