From 8d89651ef729e560ad96dcfc002fcde6ff7f923b Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 8 Oct 2015 22:46:13 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- .../recipes-linaro/linaro-lava-tests/files/LICENSE | 19 +++++++++++++++++++ .../recipes-linaro/linaro-lava-tests/files/hello.c | 8 ++++++++ .../linaro-lava-tests/files/hello.cc | 8 ++++++++ .../linaro-lava-tests/files/info.php | 5 +++++ .../linaro-lava-tests/files/mysql.php | 9 +++++++++ .../linaro-lava-tests/linaro-lava-tests.bb | 22 ++++++++++++++++++++++ 6 files changed, 71 insertions(+) create mode 100644 meta-linaro/recipes-linaro/linaro-lava-tests/files/LICENSE create mode 100644 meta-linaro/recipes-linaro/linaro-lava-tests/files/hello.c create mode 100644 meta-linaro/recipes-linaro/linaro-lava-tests/files/hello.cc create mode 100644 meta-linaro/recipes-linaro/linaro-lava-tests/files/info.php create mode 100644 meta-linaro/recipes-linaro/linaro-lava-tests/files/mysql.php create mode 100644 meta-linaro/recipes-linaro/linaro-lava-tests/linaro-lava-tests.bb (limited to 'meta-linaro/recipes-linaro/linaro-lava-tests') diff --git a/meta-linaro/recipes-linaro/linaro-lava-tests/files/LICENSE b/meta-linaro/recipes-linaro/linaro-lava-tests/files/LICENSE new file mode 100644 index 0000000..296f7d6 --- /dev/null +++ b/meta-linaro/recipes-linaro/linaro-lava-tests/files/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) 2012 Linaro Ltd. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/meta-linaro/recipes-linaro/linaro-lava-tests/files/hello.c b/meta-linaro/recipes-linaro/linaro-lava-tests/files/hello.c new file mode 100644 index 0000000..247bbe7 --- /dev/null +++ b/meta-linaro/recipes-linaro/linaro-lava-tests/files/hello.c @@ -0,0 +1,8 @@ +#include + +int main(void) +{ + printf ("hello world\n"); + + return 0; +} diff --git a/meta-linaro/recipes-linaro/linaro-lava-tests/files/hello.cc b/meta-linaro/recipes-linaro/linaro-lava-tests/files/hello.cc new file mode 100644 index 0000000..c0b335d --- /dev/null +++ b/meta-linaro/recipes-linaro/linaro-lava-tests/files/hello.cc @@ -0,0 +1,8 @@ +#include + +int main(void) +{ + std::cout << "hello world" << std::endl; + + return 0; +} diff --git a/meta-linaro/recipes-linaro/linaro-lava-tests/files/info.php b/meta-linaro/recipes-linaro/linaro-lava-tests/files/info.php new file mode 100644 index 0000000..554a22c --- /dev/null +++ b/meta-linaro/recipes-linaro/linaro-lava-tests/files/info.php @@ -0,0 +1,5 @@ + diff --git a/meta-linaro/recipes-linaro/linaro-lava-tests/files/mysql.php b/meta-linaro/recipes-linaro/linaro-lava-tests/files/mysql.php new file mode 100644 index 0000000..258b184 --- /dev/null +++ b/meta-linaro/recipes-linaro/linaro-lava-tests/files/mysql.php @@ -0,0 +1,9 @@ + diff --git a/meta-linaro/recipes-linaro/linaro-lava-tests/linaro-lava-tests.bb b/meta-linaro/recipes-linaro/linaro-lava-tests/linaro-lava-tests.bb new file mode 100644 index 0000000..389d2ff --- /dev/null +++ b/meta-linaro/recipes-linaro/linaro-lava-tests/linaro-lava-tests.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Scripts and files for LAVA tests" +LICENSE = "Expat" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3725c2bb543d06ff759f9db9b5d986ac" +PR = "r2" + +SRC_URI = "\ + file://hello.c \ + file://hello.cc \ + file://info.php \ + file://mysql.php \ + file://LICENSE \ + " + +S = "${WORKDIR}" + +do_install() { + install -d ${D}/home/root ${D}/usr/share/apache2/htdocs/ + install -m 0644 hello.* ${D}/home/root/ + install -m 0644 *.php ${D}/usr/share/apache2/htdocs/ +} + +FILES_${PN} = "/" -- cgit v1.2.3-54-g00ecf