commit 3f0abadde628e0c7c32fdba8954f776fbbbd2c5c Author: Alexander Weidinger Date: Tue Jan 8 22:32:55 2019 +0100 Add simple hello world application diff --git a/run/hello.run b/run/hello.run new file mode 100644 index 0000000..34269a0 --- /dev/null +++ b/run/hello.run @@ -0,0 +1,26 @@ +build { core init app/hello } + +create_boot_directory + +install_config { + + + + + + + + + + + + + + + } + +build_boot_image { core ld.lib.so init hello } + +append qemu_args " -nographic " + +run_genode_until forever diff --git a/src/app/hello/main.cc b/src/app/hello/main.cc new file mode 100644 index 0000000..eb0be69 --- /dev/null +++ b/src/app/hello/main.cc @@ -0,0 +1,6 @@ +#include + +void Component::construct(Genode::Env &env) +{ + Genode::log("Hello World!"); +} diff --git a/src/app/hello/target.mk b/src/app/hello/target.mk new file mode 100644 index 0000000..2505d5f --- /dev/null +++ b/src/app/hello/target.mk @@ -0,0 +1,3 @@ +TARGET = hello +SRC_CC = main.cc +LIBS = base