diff options
| author | Nathaniel Graff <nathaniel.graff@sifive.com> | 2018-12-13 13:59:49 -0800 |
|---|---|---|
| committer | Palmer Dabbelt <palmer@sifive.com> | 2018-12-13 18:14:15 -0800 |
| commit | d6bd334ec0846501c7a904802ed2aefe8e664671 (patch) | |
| tree | f6fb0df0f54d60cc768547373922746febf679e0 | |
| parent | dca1dfaf1cfb80ec30a7a16b899efa1040e3451d (diff) | |
Move hello example to submodule
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
| -rw-r--r-- | .gitmodules | 3 | ||||
| m--------- | software/hello | 0 | ||||
| -rw-r--r-- | software/hello/.gitignore | 1 | ||||
| -rw-r--r-- | software/hello/Makefile | 6 | ||||
| -rw-r--r-- | software/hello/hello.c | 8 |
5 files changed, 3 insertions, 15 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4f23d3e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "software/hello"] + path = software/hello + url = https://github.com/sifive/example-hello.git diff --git a/software/hello b/software/hello new file mode 160000 +Subproject 41918cb70f42ce0cae2be36a6ba0f1df6a598f0 diff --git a/software/hello/.gitignore b/software/hello/.gitignore deleted file mode 100644 index ce01362..0000000 --- a/software/hello/.gitignore +++ /dev/null @@ -1 +0,0 @@ -hello diff --git a/software/hello/Makefile b/software/hello/Makefile deleted file mode 100644 index 058621c..0000000 --- a/software/hello/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -TARGET = hello -C_SRCS += hello.c -CFLAGS += -O2 -fno-builtin-printf - -BSP_BASE = ../../bsp -include $(BSP_BASE)/env/common.mk diff --git a/software/hello/hello.c b/software/hello/hello.c deleted file mode 100644 index befc6ee..0000000 --- a/software/hello/hello.c +++ /dev/null @@ -1,8 +0,0 @@ -#include <stdio.h> - -int main() -{ - puts("hello world!\n"); - - return 0; -} |
