[yocto] Fwd: error while compiling hello_2.7.bb

Alexander Kanavin alexander.kanavin at linux.intel.com
Mon Dec 19 05:41:44 PST 2016


On 12/19/2016 02:42 PM, praveen vattipalli wrote:
> I have hello_2.7.bb <http://hello_2.7.bb> file which contains as below
> vim hello_2.7.bb <http://hello_2.7.bb>
> DESCRIPTION = "GNU Helloworld application"
> SECTION = "test"
> LICENSE = "BSD"
>
> LIC_FILES_CHKSUM =
> "file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a69647678acb234cb"
> SRC_DIR ?=
> "/home/rajesh/poky-krogoth-15.0.2/meta/recipes-support/hello/hello_2.7"
> SRC_URI = "file://${SRC_DIR}"
>
> S = "${SRC_DIR}"
>
> do_compile (){
>         make prog
> }

You probably need to use externalsrc facility:
http://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#building-software-from-an-external-source

Alex



More information about the yocto mailing list