<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Tahoma">Hi Ugesh,</font></p>
<p><font face="Tahoma">>> 1. I want to copy the header
includes to sysroot/usr/include/component</font></p>
<p><font face="Tahoma">Simply install the header files to
${D}${includedir}/component at the end of your 1st recipe's
do_install.</font></p>
<p><font face="Tahoma">e.g.</font></p>
<p><font face="Tahoma">mkdir </font>-p ${D}${includedir}/component</p>
<p>install -m 0644 <HEADER_LOCATION>/<header>.h
${D}${includedir}/component/</p>
<p>>> 2. Another recipe shall be able to refer the header from
sysroot/usr/include/component</p>
<p>Add your 1st recipe's package name in the DEPENDS of the recipe
where you want to utilize these headers.<br>
</p>
<pre class="moz-signature" cols="72">BR,
Awais</pre>
<div class="moz-cite-prefix">On 26/11/18 12:36, Ugesh Reddy via
bitbake-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:119490492.5831423.1543217793985@mail.yahoo.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div id="ymail_android_signature">Hello All,</div>
<div id="yMail_cursorElementTracker_1543217671697"><br>
</div>
<div id="yMail_cursorElementTracker_1543217672288">
<p style="margin: 0px; padding: 0px; border: 0px; font-size:
15px; font-family: arial, helvetica, "helvetica
neue", verdana, sans-serif; vertical-align: baseline;
overflow-wrap: break-word; color: rgb(81, 98, 111);
background-color: rgb(255, 255, 255);"
id="yMail_cursorElementTracker_1543217680825">I have the yocto
bsp for iMx8 eval board and compiled it successfully. I have
introduced the new custom layer and written .bb file for my
recipe and the component is compiled successfully and want to
install the my include in sysroot/usr/include/component at the
end. I don't have the clue how to do that . Could you please
some one guide me.</p>
<p style="margin: 0px; padding: 0px; border: 0px; font-size:
15px; font-family: arial, helvetica, "helvetica
neue", verdana, sans-serif; vertical-align: baseline;
overflow-wrap: break-word; color: rgb(81, 98, 111);
background-color: rgb(255, 255, 255); min-height: 8pt;"> </p>
<p style="margin: 0px; padding: 0px; border: 0px; font-size:
15px; font-family: arial, helvetica, "helvetica
neue", verdana, sans-serif; vertical-align: baseline;
overflow-wrap: break-word; color: rgb(81, 98, 111);
background-color: rgb(255, 255, 255);">I want the below to be
achieved from .bb files.</p>
<p style="margin: 0px; padding: 0px; border: 0px; font-size:
15px; font-family: arial, helvetica, "helvetica
neue", verdana, sans-serif; vertical-align: baseline;
overflow-wrap: break-word; color: rgb(81, 98, 111);
background-color: rgb(255, 255, 255);">1. I want to copy the
header includes to sysroot/usr/include/component</p>
<p style="margin: 0px; padding: 0px; border: 0px; font-size:
15px; font-family: arial, helvetica, "helvetica
neue", verdana, sans-serif; vertical-align: baseline;
overflow-wrap: break-word; color: rgb(81, 98, 111);
background-color: rgb(255, 255, 255);"
id="yMail_cursorElementTracker_1543217678730">2. Another
recipe shall be able to refer the header from
sysroot/usr/include/component</p>
<p style="margin: 0px; padding: 0px; border: 0px; font-size:
15px; font-family: arial, helvetica, "helvetica
neue", verdana, sans-serif; vertical-align: baseline;
overflow-wrap: break-word; color: rgb(81, 98, 111);
background-color: rgb(255, 255, 255);"
id="yMail_cursorElementTracker_1543217689960"><br>
</p>
<p style="margin: 0px; padding: 0px; border: 0px; font-size:
15px; font-family: arial, helvetica, "helvetica
neue", verdana, sans-serif; vertical-align: baseline;
overflow-wrap: break-word; color: rgb(81, 98, 111);
background-color: rgb(255, 255, 255);"
id="yMail_cursorElementTracker_1543217690540">Regards,</p>
<p style="margin: 0px; padding: 0px; border: 0px; font-size:
15px; font-family: arial, helvetica, "helvetica
neue", verdana, sans-serif; vertical-align: baseline;
overflow-wrap: break-word; color: rgb(81, 98, 111);
background-color: rgb(255, 255, 255);"
id="yMail_cursorElementTracker_1543217696559">Ugesh</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>