From 9503b79cb0ba13b40eb193961efe04f0408469cc Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Fri, 29 Aug 2014 15:59:09 +0200 Subject: yocto: add more recipe examples Signed-off-by: Manuel Traut --- .../poky/meta-linutronix/recipes-hello/hello/files/hello.c | 2 +- .../poky/meta-linutronix/recipes-hello/hello/hello.bb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'distribution/yocto-advanced/poky/meta-linutronix/recipes-hello/hello') 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} } -- cgit v1.2.3