diff options
author | Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> | 2016-08-24 15:50:07 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:54 +0100 |
commit | 1da953d631ab1574c6a9242f2c8ff9cd6b74bcd0 (patch) | |
tree | d9297575829d41520024498f19fe69701fd9ad60 /meta/lib/oeqa/sdkext/files | |
parent | e616beba1c85e31246d1c798191b194d168b3489 (diff) | |
download | poky-1da953d631ab1574c6a9242f2c8ff9cd6b74bcd0.tar.gz |
/oeqa/sdkext Adds verification for devtool on eSDK.
The covered funcions are, build make, build esdk package, build cmake
extend autotools recipe creation, kernel module,
node.js installation and recipe creation.
(From OE-Core rev: 574a5d4cf3e79815aecc4d198545119d3bbfb023)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdkext/files')
-rw-r--r-- | meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt | 11 | ||||
-rw-r--r-- | meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt b/meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt new file mode 100644 index 0000000000..19d773dd63 --- /dev/null +++ b/meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt | |||
@@ -0,0 +1,11 @@ | |||
1 | cmake_minimum_required (VERSION 2.6) | ||
2 | project (myapp) | ||
3 | # The version number. | ||
4 | set (myapp_VERSION_MAJOR 1) | ||
5 | set (myapp_VERSION_MINOR 0) | ||
6 | |||
7 | # add the executable | ||
8 | add_executable (myapp myapp.c) | ||
9 | |||
10 | install(TARGETS myapp | ||
11 | RUNTIME DESTINATION bin) | ||
diff --git a/meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c b/meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c new file mode 100644 index 0000000000..f0b63f03f3 --- /dev/null +++ b/meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c | |||
@@ -0,0 +1,9 @@ | |||
1 | #include <stdio.h> | ||
2 | |||
3 | int | ||
4 | main(int argc, char *argv[]) | ||
5 | { | ||
6 | printf("Hello world\n"); | ||
7 | |||
8 | return 0; | ||
9 | } | ||