From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: praveen vattipalli <praveen.vatt@gmail.com>, poky@yoctoproject.org
Subject: Re: error while compiling hello_2.7.bb
Date: Mon, 19 Dec 2016 13:55:10 +0000 [thread overview]
Message-ID: <1482155710.9843.36.camel@linuxfoundation.org> (raw)
In-Reply-To: <CA+pXca0z1fZbtrcwiNgcrTyhaNvA=8dGeXxifBoRR4cjQPN=9Q@mail.gmail.com>
On Mon, 2016-12-19 at 18:10 +0530, praveen vattipalli wrote:
> Hi All,
> I have hello_2.7.bb file which contains as below
> vim hello_2.7.bb
> DESCRIPTION = "GNU Helloworld application"
> SECTION = "test"
> LICENSE = "BSD"
>
> LIC_FILES_CHKSUM =
> "file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a69647678acb234c
> b"
> SRC_DIR ?= "/home/rajesh/poky-krogoth-15.0.2/meta/recipes-
> support/hello/hello_2.7"
> SRC_URI = "file://${SRC_DIR}"
>
> S = "${SRC_DIR}"
You don't want to set S to this as you're then building things in your
metadata directory. I suspect the code in more recent versions cleans
${S} before fetching/unpacking and this is wiping out your files.
You probably want S = "${WORKDIR}" or maybe S = "${WORKDIR}/hello_2.7",
I can't remember exactly where the fetcher places a directory of files.
Cheers,
Richard
next prev parent reply other threads:[~2016-12-19 13:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-19 12:40 error while compiling hello_2.7.bb praveen vattipalli
2016-12-19 12:42 ` praveen vattipalli
2016-12-19 13:41 ` Alexander Kanavin
2016-12-19 13:55 ` Richard Purdie [this message]
2016-12-21 10:52 ` praveen vattipalli
2016-12-21 12:32 ` Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1482155710.9843.36.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=poky@yoctoproject.org \
--cc=praveen.vatt@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.