mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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>
24 lines
693 B
Text
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
|