7 Star 21 Fork 2

openvela/nuttx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Android.bp 2.00 KB
一键复制 编辑 原始数据 按行查看 历史
Nathan Hartman 提交于 2023-11-24 10:56 . mm: Fix some typos
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,
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/open-vela/nuttx.git
git@gitee.com:open-vela/nuttx.git
open-vela
nuttx
nuttx
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385