diff options
Diffstat (limited to 'recipes-example/example/example-0.1')
| -rw-r--r-- | recipes-example/example/example-0.1/example.patch | 12 | ||||
| -rw-r--r-- | recipes-example/example/example-0.1/helloworld.c | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/recipes-example/example/example-0.1/example.patch b/recipes-example/example/example-0.1/example.patch new file mode 100644 index 0000000..2000a34 --- /dev/null +++ b/recipes-example/example/example-0.1/example.patch | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | # | ||
| 2 | # This is a non-functional placeholder file, here for example purposes | ||
| 3 | # only. | ||
| 4 | # | ||
| 5 | # If you had a patch for your recipe, you'd put it in this directory | ||
| 6 | # and reference it from your recipe's SRC_URI: | ||
| 7 | # | ||
| 8 | # SRC_URI += "file://example.patch" | ||
| 9 | # | ||
| 10 | # Note that you could also rename the directory containing this patch | ||
| 11 | # to remove the version number or simply rename it 'files'. Doing so | ||
| 12 | # allows you to use the same directory for multiple recipes. | ||
diff --git a/recipes-example/example/example-0.1/helloworld.c b/recipes-example/example/example-0.1/helloworld.c new file mode 100644 index 0000000..71f2e46 --- /dev/null +++ b/recipes-example/example/example-0.1/helloworld.c | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #include <stdio.h> | ||
| 2 | |||
| 3 | int main(int argc, char **argv) | ||
| 4 | { | ||
| 5 | printf("Hello World!\n"); | ||
| 6 | |||
| 7 | return 0; | ||
| 8 | } | ||
