代码拉取完成,页面将自动刷新
cc_library_headers {
name: "nuttx_libc_headers",
generated_headers: [
"nuttx_headers_gen",
],
export_generated_headers: ["nuttx_headers_gen"],
proprietary: true,
}
cc_defaults {
name: "nuttx_libc_defaults",
cflags: [
"-DCONFIG_DISABLE_MOUNTPOINT",
"-DCONFIG_HAVE_DOUBLE",
"-DCONFIG_HAVE_FLOAT",
"-DCONFIG_HAVE_LONG_DOUBLE",
"-DCONFIG_HAVE_LONG_LONG",
"-DCONFIG_LIBC_FLOATINGPOINT",
"-DCONFIG_LIBC_SCANSET",
"-DCONFIG_LIBC_NUMBERED_ARGS",
"-DCONFIG_STDIO_DISABLE_BUFFERING",
"-DCONFIG_STREAM_BASE64_BUFFER_SIZE=128",
"-DCONFIG_STREAM_HEXDUMP_BUFFER_SIZE=128",
"-DCONFIG_STREAM_OUT_BUFFER_SIZE=64",
"-DDEBUGASSERT=assert",
"-Dget_errno()=errno",
"-Dset_errno(e)=do{errno = (int)(e);}while(0)",
"-D_NX_GETERRVAL(r)=(-errno)",
"-DOK=0",
"-DFAR=",
],
proprietary: true,
}
genrule {
name: "nuttx_headers_gen",
srcs: [
"include/nuttx/streams.h",
"include/nuttx/compiler.h",
"include/nuttx/crc32.h",
],
cmd: "mkdir $(genDir)/nuttx; touch $(out); cp $(in) $(genDir)/nuttx",
out: [
"nuttx/streams.h",
"nuttx/compiler.h",
"nuttx/config.h",
"nuttx/lib/lib.h",
"nuttx/crc32.h",
],
}
cc_library_static {
name: "libnuttx_libc",
header_libs: ["nuttx_libc_headers"],
srcs: [
"libs/libc/stdio/lib_dtoa_data.c",
"libs/libc/stdio/lib_dtoa_engine.c",
"libs/libc/stdio/lib_libbsprintf.c",
"libs/libc/stdio/lib_libsprintf.c",
"libs/libc/stdio/lib_libvscanf.c",
"libs/libc/stdio/lib_libvsprintf.c",
"libs/libc/stdio/lib_ultoa_invert.c",
"libs/libc/stream/lib_libnoflush.c",
"libs/libc/stream/lib_meminstream.c",
"libs/libc/stream/lib_stdoutstream.c",
"libs/libc/misc/lib_crc32.c",
],
defaults : [ "nuttx_libc_defaults" ],
local_include_dirs:["libs/libc/"],
proprietary: true,
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。