[OE-core] [PATCH] devtool: nlohmann-fifo

Khem Raj raj.khem at gmail.com
Wed Oct 16 01:07:51 UTC 2019


On Mon, Oct 14, 2019 at 8:46 PM Aatir <aatrapps at gmail.com> wrote:

> From: Tekkub <aatrapps at gmail.com>
>
> Adding the nlohmann-fifo, c++ library for fifo maps.
>
> Signed-off-by: Aatir <aatrapps at gmail.com>
> ---
>  .../nlohmann-fifo/nlohmann-fifo_git.bb        | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 meta-oe/recipes-devtools/nlohmann-fifo/
> nlohmann-fifo_git.bb
>
> diff --git a/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
> b/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
> new file mode 100644
> index 000000000..afab2eac4
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "fifo maps for c++"
> +HOMEPAGE = "/"


This needs to point to a valid url

>
> +SECTION = "libs"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM =
> "file://LICENSE.MIT;md5=b67209a1e36b682a8226de19d265b1e0"
> +
> +SRC_URI = "git://github.com/nlohmann/fifo_map.git"
> +
> +PV = "1.0.0+git${SRCPV}"
> +
> +SRCREV = "0dfbf5dacbb15a32c43f912a7e66a54aae39d0f9"
> +
> +S = "${WORKDIR}/git"
> +
> +RDEPENDS_${PN}-dev = ""


Why is this needed ?


> +
> +BBCLASSEXTEND = "native nativesdk"
> +
> +do_install() {
> +    install -d ${D}${includedir}


Delete this line


> +    install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir}/fifo_map.hpp


Use install -D -m

>
> +}
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20191015/b4f987d2/attachment.html>


More information about the Openembedded-core mailing list