From 498830a97001a793c12aef3d011c5374a05b4a83 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Tue, 12 Jan 2016 12:00:25 +0100 Subject: mv yocto examples into example dir Signed-off-by: Manuel Traut --- .../poky/meta-mini/recipes-hello/hello/files/hello.c | 8 -------- .../poky/meta-mini/recipes-hello/hello/hello.bb | 18 ------------------ 2 files changed, 26 deletions(-) delete mode 100644 distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello/files/hello.c delete mode 100644 distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello/hello.bb (limited to 'distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello') diff --git a/distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello/files/hello.c b/distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello/files/hello.c deleted file mode 100644 index f202e2f..0000000 --- a/distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello/files/hello.c +++ /dev/null @@ -1,8 +0,0 @@ -#include - -int main (int argc, char **argv) -{ - printf ("hello yocto world\n"); - - return 0; -} diff --git a/distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello/hello.bb b/distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello/hello.bb deleted file mode 100644 index 6969b44..0000000 --- a/distribution/yocto-advanced/poky/meta-mini/recipes-hello/hello/hello.bb +++ /dev/null @@ -1,18 +0,0 @@ -DESCRIPTION = "Simple helloworld application" -SECTION = "examples" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -PR = "r0" - -SRC_URI = "file://hello.c" - -S = "${WORKDIR}" - -do_compile() { - ${CC} hello.c -o hello -} - -do_install() { - install -d ${D}${bindir} - install -m 0755 hello ${D}${bindir} -} -- cgit v1.2.3