Subject: Re: 'require' statement and bbappend To: poky@lists.yoctoproject.org From: "Ashish" X-Originating-Location: Bengaluru, Karnataka, IN (115.99.50.87) X-Originating-Platform: Linux Chrome 79 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sat, 07 Mar 2020 14:55:58 -0800 References: <329c92c2210817903bb3a07f46e4019484665373.camel@linuxfoundation.org> In-Reply-To: <329c92c2210817903bb3a07f46e4019484665373.camel@linuxfoundation.org> Message-ID: <10736.1583621758533873687@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="K6hoRwIMyd7SsXgJQdMJ" --K6hoRwIMyd7SsXgJQdMJ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 1) w.r.t ".. The recipe contains a line that says, require linux-imx-src-${= PV}.inc " By this the recipe ensure's that we get an error if the ".inc" file is not= there . As this is better than allowing it to process ahead for case where we have= absence of said file . 2)=C2=A0 w.r.t " PV =3D "4.14.98-git${SRCPV}" It helps in cases where we can have SRCREV =3D "${AUTOREV}". Even if we dont have=C2=A0SRCREV =3D "${AUTOREV}" , by adding git${SRCPV} = we are able to track git version and what's the SHA or commit-id for said r= epo Hope it helps . Thanks Ashish --K6hoRwIMyd7SsXgJQdMJ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable 1) w.r.t ".. The recipe contains a line that says, =  require linux-imx-src-${PV}.in= c "
      By this the recipe ensure's that we ge= t an error if the ".inc" file is not there .
      &nbs= p;As this is better than allowing it to process ahead for case where we hav= e absence of said file .

2)  w.r.t " PV =3D "4.14.98-git${SRCPV}" 
 =    It helps in cases where we can have SRCREV =3D "${AUTOREV}".&= nbsp;
     Even if we dont have SRCREV =3D "${AUTO= REV}" , by adding git${SRCPV} w= e are able to track git version and what's the SHA or commit-id for = said repo

Hope it helps . 

Thanks 
Ash= ish 


--K6hoRwIMyd7SsXgJQdMJ--