EbbRT-baremetal based node.js application
- (Optional) Set the
EBBRT_SRCDIR
environment variable to point to EbbRT source directory:export EBBRT_SRCDIR=~/EbbRT
- Build and install EbbRT native toolchain
- Build and install EbbRT hosted library
- Build and install EbbRT filesystem library
- Build and install EbRRT cmdline library
Set the EBBRT_SYSROOT
environment variable to point to EbbRT native toolchain, assuming
it was installed at following location:
export EBBRT_SYSROOT=~/sysroot/native
Set the CMAKE_PREFIX_PATH
environment variable to point to EbbRT hosted library, assuming
it was installed at following location:
export CMAKE_PREFIX_PATH=~/sysroot/hosted
To build native and hosted node.js application:
make -j all
To run (hello world example):
./build/node ./scripts/hello_world.js