diff options
| author | Manuel Traut <manut@linutronix.de> | 2014-08-29 15:59:09 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2014-08-29 15:59:09 +0200 |
| commit | 9503b79cb0ba13b40eb193961efe04f0408469cc (patch) | |
| tree | 9789e59ea4f33bff7d606976e5720e9f64b84f0f /distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello | |
| parent | 9b96af402f8ed256c5db1e8c48da6c1d5f5f92d8 (diff) | |
yocto: add more recipe examples
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello')
| -rw-r--r-- | distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/files/hello.c | 2 | ||||
| -rw-r--r-- | distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/hello.bb | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/files/hello.c b/distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/files/hello.c index b182eef..f202e2f 100644 --- a/distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/files/hello.c +++ b/distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/files/hello.c @@ -2,7 +2,7 @@ int main (int argc, char **argv) { - printf("Hello World - DEUTA\n"); + printf ("hello yocto world\n"); return 0; } diff --git a/distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/hello.bb b/distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/hello.bb index 0fa88f6..6969b44 100644 --- a/distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/hello.bb +++ b/distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello/hello.bb @@ -9,10 +9,10 @@ SRC_URI = "file://hello.c" S = "${WORKDIR}" do_compile() { - ${CC} hello.c -o hello + ${CC} hello.c -o hello } do_install() { - install -d ${D}${bindir} - install -m 0755 hello ${D}${bindir} + install -d ${D}${bindir} + install -m 0755 hello ${D}${bindir} } |
