diff options
author | Eero Aaltonen <eero.aaltonen@vaisala.com> | 2022-10-27 16:29:31 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-10-27 08:55:20 -0700 |
commit | cca9e65fae35b029f0fddbbc29ff6aa7c3b5caee (patch) | |
tree | 0fe2996b80aae4cdcd0d9575df9a088f84d8f908 | |
parent | b1a3c0c3c3fb67190d098012145d6aedc6754069 (diff) | |
download | meta-openembedded-cca9e65fae35b029f0fddbbc29ff6aa7c3b5caee.tar.gz |
valijson: use install task from CMakeLists.txt
Upstream CMakeLists.txt has improved and in version 0.7 install both
the headers and a config-file package to
packages-split/valijson-dev/usr/lib/cmake/valijson/valijsonConfig.cmake
, so drop the custom `do_install` task and use the CMake install task
directly instead.
Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/valijson/valijson_0.7.bb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/meta-oe/recipes-devtools/valijson/valijson_0.7.bb b/meta-oe/recipes-devtools/valijson/valijson_0.7.bb index 51b2bb9e0..3bb89ee8f 100644 --- a/meta-oe/recipes-devtools/valijson/valijson_0.7.bb +++ b/meta-oe/recipes-devtools/valijson/valijson_0.7.bb | |||
@@ -20,19 +20,3 @@ PACKAGECONFIG[tests] = "-Dvalijson_BUILD_TESTS=TRUE,-Dvalijson_BUILD_TESTS=FALSE | |||
20 | RDEPENDS:${PN}-dev = "" | 20 | RDEPENDS:${PN}-dev = "" |
21 | 21 | ||
22 | BBCLASSEXTEND = "native nativesdk" | 22 | BBCLASSEXTEND = "native nativesdk" |
23 | |||
24 | do_install() { | ||
25 | install -d ${D}${includedir}/compat | ||
26 | install -d ${D}${includedir}/valijson | ||
27 | install -d ${D}${includedir}/valijson/adapters | ||
28 | install -d ${D}${includedir}/valijson/constraints | ||
29 | install -d ${D}${includedir}/valijson/internal | ||
30 | install -d ${D}${includedir}/valijson/utils | ||
31 | |||
32 | install -m 0644 ${S}/include/compat/* ${D}${includedir}/compat | ||
33 | install -D -m 0644 ${S}/include/valijson/*.hpp -t ${D}${includedir}/valijson | ||
34 | install -D -m 0644 ${S}/include/valijson/adapters/*.hpp -t ${D}${includedir}/valijson/adapters | ||
35 | install -D -m 0644 ${S}/include/valijson/constraints/*.hpp -t ${D}${includedir}/valijson/constraints | ||
36 | install -D -m 0644 ${S}/include/valijson/internal/*.hpp -t ${D}${includedir}/valijson/internal | ||
37 | install -D -m 0644 ${S}/include/valijson/utils/*.hpp -t ${D}${includedir}/valijson/utils | ||
38 | } | ||