mirror of https://github.com/flysand7/ciabatta.git
66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
|
{
|
||
|
|
||
|
// Manifest file for the ciabatta build.
|
||
|
|
||
|
// Platform sections describe available platforms and
|
||
|
// which files they need to include to function
|
||
|
// API sections describe API subsets and their TinyRT
|
||
|
// dependencies. If an API requires TinyRT module that
|
||
|
// isn't implemented by the platform that API won't be included
|
||
|
// in the final build
|
||
|
|
||
|
// This file is used to auto-generate ciabatta.c
|
||
|
|
||
|
// `include` section specifies the header files that ciabatta
|
||
|
// implements
|
||
|
// `platform` sections describe platforms, the directories
|
||
|
// where the source code for these platforms resides and the
|
||
|
// files that should be included in the build for that platform
|
||
|
// (relative to "src" dir) as well as the location of TinyRT
|
||
|
// implementation.
|
||
|
// `api` sections describe modules, where the implementation resides,
|
||
|
// the source files and the TinyRT modules, on which this module
|
||
|
// depends. If the platform doesn't implement one of the dependencies
|
||
|
// this module will not be included in the final build
|
||
|
|
||
|
includes: [
|
||
|
"cia-def.h",
|
||
|
"stdlib.h"
|
||
|
],
|
||
|
|
||
|
platforms: [
|
||
|
{
|
||
|
name: "linux",
|
||
|
path: "linux",
|
||
|
includes: [
|
||
|
"syscall.c",
|
||
|
"errno.c",
|
||
|
"entry.c"
|
||
|
],
|
||
|
tinyrt: [
|
||
|
"tinyrt.c"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
name: "windows",
|
||
|
path: "windows",
|
||
|
includes: [],
|
||
|
tinyrt: [],
|
||
|
},
|
||
|
],
|
||
|
|
||
|
apis: [
|
||
|
{
|
||
|
name: "stdlib_program",
|
||
|
path: "impl/stdlib-program",
|
||
|
includes: [
|
||
|
"program.c",
|
||
|
],
|
||
|
reqs: [
|
||
|
"rt_api_program",
|
||
|
]
|
||
|
},
|
||
|
]
|
||
|
|
||
|
// END
|
||
|
}
|