diff options
-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; -} |