<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Dear all<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I created Makefile based package as per the development
manuval(<a
href="http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html#splitting-an-application-into-multiple-packages">http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html#splitting-an-application-into-multiple-packages</a>
)<o:p></o:p></p>

<p class=MsoNormal>Created the package under the meta-yocto layer<o:p></o:p></p>

<p class=MsoNormal>In .bb file of this package is below.<o:p></o:p></p>

<p class=MsoNormal>In recipe folder  structure I created files folder and
.bb file<o:p></o:p></p>

<p class=MsoNormal>In that files folder I added the makefile and source file
folders<o:p></o:p></p>

<p class=MsoNormal>When I bitbake this bb file I get an error source files is
not getting (source file mentioned in makefile)<o:p></o:p></p>

<p class=MsoNormal>I have 7 source files and I keep the .c file in source
folder<o:p></o:p></p>

<p class=MsoNormal>In make file I clearly mention cd to the folder and take
source file.<o:p></o:p></p>

<p class=MsoNormal>Iif any one know  how can include source files folder
in bb file<o:p></o:p></p>

<p class=MsoNormal>My make file also I attached here.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Please  help me….<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>DESCRIPTION = "Simple application"<o:p></o:p></p>

<p class=MsoNormal>SECTION = "examples"<o:p></o:p></p>

<p class=MsoNormal>LICENSE = "MIT"<o:p></o:p></p>

<p class=MsoNormal>LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"<o:p></o:p></p>

<p class=MsoNormal>pr = "r0"<o:p></o:p></p>

<p class=MsoNormal><span style='background:yellow;mso-highlight:yellow'>SRC_URI
= "file://Makefile"</span><o:p></o:p></p>

<p class=MsoNormal>S = "${WORKDIR}"<o:p></o:p></p>

<p class=MsoNormal>do_install() {<o:p></o:p></p>

<p class=MsoNormal>install -d ${D}${bindir}<o:p></o:p></p>

<p class=MsoNormal>install -m 0755 CLUSTER ${D}${bindir}<o:p></o:p></p>

<p class=MsoNormal>}<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Regards<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Sachu<o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>