diff options
| author | Jan Altenberg <jan@linutronix.de> | 2016-05-20 19:02:57 +0200 |
|---|---|---|
| committer | Jan Altenberg <jan@linutronix.de> | 2016-05-20 19:02:57 +0200 |
| commit | de3626497bba95b5d44550c9c23b99fd20a8d9c8 (patch) | |
| tree | deb98eff85fffccf9f7b2818bf837e6ab51d836a /examples/yocto/meta-mini/recipes-hello/hellocm/files | |
| parent | 29bcbff58ced768f9f4edbc6f4d9d9604552f09e (diff) | |
| parent | f4af36737b6e0ca37f5b17434b8f37d04cf083d7 (diff) | |
Merge remote-tracking branch 'remotes/origin/devel/manut/yocto'
Integration of Manu's latest Yocto topics (autotools)
Diffstat (limited to 'examples/yocto/meta-mini/recipes-hello/hellocm/files')
3 files changed, 15 insertions, 0 deletions
diff --git a/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1.tar.bz2 b/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1.tar.bz2 Binary files differnew file mode 100644 index 0000000..1292ea5 --- /dev/null +++ b/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1.tar.bz2 diff --git a/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1/CMakeLists.txt b/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1/CMakeLists.txt new file mode 100644 index 0000000..a811deb --- /dev/null +++ b/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1/CMakeLists.txt @@ -0,0 +1,7 @@ +CMAKE_MINIMUM_REQUIRED (VERSION 2.6) +PROJECT (hellocm) +SET (CPACK_PACKAGE_VERSION_MAJOR "0") +SET (CPACK_PACKAGE_VERSION_MINOR "1") +SET (src ${CMAKE_CURRENT_SOURCE_DIR}/hello.c) +ADD_EXECUTABLE (hellocm ${src}) +INSTALL(TARGETS hellocm RUNTIME DESTINATION bin LIBRARY DESTINATION lib) diff --git a/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1/hello.c b/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1/hello.c new file mode 100644 index 0000000..f202e2f --- /dev/null +++ b/examples/yocto/meta-mini/recipes-hello/hellocm/files/hellocm-0.1/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> + +int main (int argc, char **argv) +{ + printf ("hello yocto world\n"); + + return 0; +} |
