<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Leon,<br>
    <br>
    Thank you for the answer!<br>
    <br>
    I read the documentation, it doesn't really give me more than
    general hints what to try (or maybe I read at the wrong place). I
    also read in  "Embedded Linux Project Using Yocto Project Cookbook".
    I know that bitbake should use autotools somehow. I set up my
    directories exactly like the other projects which work without any
    issues. The other project, however, are simple executables.<br>
    <br>
    What is unclear to me:<br>
    To what shall SCR_URI point? The git repo? Downloaded .tar.gz file?
    The source dir copied into the project directory besided the
    recipe)? I tried all these ways already, each bringing up a
    different error, basically.<br>
    <br>
    Do I need to change do_install() or does the makefile handles it? If
    I interpret the documentation and the book correctly, I don't need
    to do anything more in the recipe...<br>
    <br>
    When I want to fetch from git, it complains about the SRCREF not
    being set. So I tried to set it to the most recent commit of the
    repo in the recipe file, but it gave another error. I also tried to
    "append" it somehow to the git URI which didn't work either.<br>
    <br>
    <br>
    Note that I need to include the development version of openssl, not
    openssl itself (on Ubuntu host you do something like apt install
    openssl-dev).<br>
    <br>
    The recipe is appended, if it helps:<br>
    <br>
    # Recipe created by recipetool<br>
    # This is the basis of a recipe and may need further editing in
    order to be fully functional.<br>
    # (Feel free to remove these comments when editing.)<br>
    #<br>
    # WARNING: the following LICENSE and LIC_FILES_CHKSUM values are
    best guesses - it is<br>
    # your responsibility to verify that the values are complete and
    correct.<br>
    LICENSE = "Unknown"<br>
    LIC_FILES_CHKSUM =
    <a class="moz-txt-link-rfc2396E" href="file://COPYING;md5=c8ee358fdf91d887aa014c8712e8c22d">"file://COPYING;md5=c8ee358fdf91d887aa014c8712e8c22d"</a><br>
    SRC_URI[md5sum] = "da7315f9bc22ff4c24a1cef404b4f3a8"<br>
    # No information for SRC_URI yet (only an external source tree was
    specified)<br>
    SRC_URI =
"/usr/local/dey-2.0/sources/meta-training/recipes-examples/tr-50/tr-50-0.1/"<br>
    #SRC_URI =
"git://<a class="moz-txt-link-freetext" href="https://github.com/inhedron/libtr50.git;rev=aedc45c4e9a9a9a3aa301616ad03f07b903d9a81">https://github.com/inhedron/libtr50.git;rev=aedc45c4e9a9a9a3aa301616ad03f07b903d9a81</a>"<br>
    #SRC_URI = <a class="moz-txt-link-rfc2396E" href="file:///home/jakob/Downloads/libtr50-0.1.0.tar.gz">"file:///home/jakob/Downloads/libtr50-0.1.0.tar.gz"</a><br>
    #SRCREF = "aedc45c4e9a9a9a3aa301616ad03f07b903d9a81"<br>
    <br>
    DEPENDS = "openssl "<br>
    # NOTE: if this software is not capable of being built in a separate
    build directory<br>
    # from the source, you should replace autotools with
    autotools-brokensep in the<br>
    # inherit line<br>
    inherit autotools<br>
    <br>
    # Specify any options you want to pass to the configure script using
    EXTRA_OECONF:<br>
    EXTRA_OECONF = " --with-examples"<br>
    <br>
    #do_install(){<br>
    #    eo_runmake install DESTDIR=${D} PREFIX=${D}<br>
    #}<br>
    <br>
    Thanks in advance for any answers!<br>
    <br>
    All the best,<br>
    Jakob<br>
    <br>
    <div class="moz-cite-prefix">On 27.01.2017 14:39, Leon Woestenberg
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMjhiJg__hdSHbKNE8BO68d7WBz-QhtKNKtUGxw6wd68aF_uFQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi Jakob,<br>
          <br>
        </div>
        <div>welcome on-board.<br>
        </div>
        <div><br>
        </div>
        <div>The Yocto community expects you to re-use the available
          documentation and online resources (or even offline resources
          like books) on Yocto or OpenEmbedded. Then if things remains
          unclear you can ask questions here on the mailing list and on
          IRC channels yocto.<br>
          <br>
        </div>
        <div>Your question (and probably a lot of subsequent things you
          learn on the way) can be answered by the documentation and
          existing resources.<br>
        </div>
        <div><br>
        </div>
        <div>I would recommend to read the documentation, then find an
          existing recipe that uses "autotools" and another that DEPENDS
          on openssl.<br>
        </div>
        <div><br>
        </div>
        <div>There are a lot of resources online:<br>
        </div>
        <div><br>
          <a moz-do-not-send="true"
href="http://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe">http://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe</a><br>
          <br>
          <a moz-do-not-send="true"
            href="https://www.yoctoproject.org/tools-resources/community/irc">https://www.yoctoproject.org/tools-resources/community/irc</a>
          <br>
          <br>
        </div>
        <div>Regards,<br>
          <br>
        </div>
        <div>Leon.<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Jan 27, 2017 at 12:43 PM, Jakob
          Hasse <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:jakob.hasse@smart-home-technology.ch"
              target="_blank">jakob.hasse@smart-home-technology.ch</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            I'm beginning with Yocto.<br>
            I would like to know where to find general help (like a
            forum, or mailing lists) for my Yocto-related technical
            problems.<br>
            Right now I have problems just integrating a library into my
            build. Later I will also do system development.<br>
            <br>
            If this helps, a further description of my most urgent
            problem:<br>
            <br>
            I want to integrate the tr-50 library, available on github:<br>
            <br>
            <a moz-do-not-send="true"
              href="https://github.com/inhedron/libtr50"
              rel="noreferrer" target="_blank">https://github.com/inhedron/li<wbr>btr50</a><br>
            <br>
            It is managed via autotools.<br>
            I built a new project subdirectory in my custom layer for
            the lib.<br>
            I built a basic recipe (with some tool) which, in principle
            should somehow recognize the autotools and build the project
            then. I changed the SCR_URI to the local .tar.gz file. But
            when I build, it comes down to this:<br>
            make: *** No rule to make target 'install'.  Stop.<br>
            I don't know if and which parameters I should change in the
            recipe.<br>
            Another problem is that the lib needs openssl-dev. I can't
            find how to include openssl-dev into the Yocto build.<br>
            <br>
            Looking forward for your answers, best regards,<br>
            Jakob<span class="HOEnZb"><font color="#888888"><br>
                <br>
                -- <br>
                Jakob Hasse<br>
                Software Developement<br>
                <br>
                E: <a moz-do-not-send="true"
                  href="mailto:jakob.hasse@smart-home-technology.ch"
                  target="_blank">jakob.hasse@smart-home-technol<wbr>ogy.ch</a><br>
                T: <a moz-do-not-send="true"
                  href="tel:%2B41%2044%20552%2002%2066"
                  value="+41445520266" target="_blank">+41 44 552 02 66</a><br>
                <br>
                Smart Home Technology GmbH<br>
                <a moz-do-not-send="true"
                  href="http://www.smart-home-technology.ch"
                  rel="noreferrer" target="_blank">www.smart-home-technology.ch</a><br>
                <br>
                -- <br>
                ______________________________<wbr>_________________<br>
                yocto mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.yoctoproject.org/listinfo/yocto"
                  rel="noreferrer" target="_blank">https://lists.yoctoproject.org<wbr>/listinfo/yocto</a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Jakob Hasse
Software Developement

E: <a class="moz-txt-link-abbreviated" href="mailto:jakob.hasse@smart-home-technology.ch">jakob.hasse@smart-home-technology.ch</a>
T: +41 44 552 02 66 

Smart Home Technology GmbH
<a class="moz-txt-link-abbreviated" href="http://www.smart-home-technology.ch">www.smart-home-technology.ch</a></pre>
  </body>
</html>