From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Rohit2 Jindal <rohit2.jindal@aricent.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: yocto query on SR_URI creation
Date: Tue, 17 Sep 2013 10:27:59 +0100 [thread overview]
Message-ID: <229904476.ZkVfXfKkUW@helios> (raw)
In-Reply-To: <17797116383D4341B029FDF34C22BF6A5D7F898B2A@GUREXMB01.ASIAN.AD.ARICENT.COM>
On Tuesday 17 September 2013 14:35:53 Rohit2 Jindal wrote:
> SRC_URI =
> "git://ep-code.xtz.com/u-boot.git;branch=xxx-ep-20130823-3.0-alpha;protocol
> =ssh;subpath=uboot" SRC_URI =
> "git://ep-code.xtz.com/x-load.git;branch=xxx-ep-20130823-3.0-alpha;protocol
> =ssh;subpath=xload"
There are several problems with the above:
1) In my reply I mentioned that subpath is not the right option to use. Use
destsuffix instead.
2) You can't just do SRC_URI = twice, the second time it will just overwrite
the value from the first statement.
3) You'll need to specify name= for each item and then specify SRCREV for each
one ("${AUTOREV}" if you want to use the latest on the specified branch).
So you'll need something like:
SRC_URI = "git://ep-code.xtz.com/u-boot.git;branch=xxx-ep-20130823-3.0-alpha;protocol=ssh;name=uboot;destsuffix=git/uboot \
git://ep-code.xtz.com/x-load.git;branch=xxx-ep-20130823-3.0-alpha;protocol=ssh;name=xload;destsuffix=git/xload"
SRCREV_uboot = "${AUTOREV}"
SRCREV_xload = "${AUTOREV}"
Don't forget also to set S = "${WORKDIR}/git" as well.
Note that if you want to use ${SRCPV} in PV to get the source revision in
the version, you'll also need to set SRCREV_FORMAT to tell the system
how to compose SRCPV from the two SRCREV values e.g.
SRCREV_FORMAT = "uboot_xload"
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-09-17 9:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.7042.1376600669.19864.yocto@yoctoproject.org>
2013-09-09 7:47 ` yocto query on SR_URI creation Rohit2 Jindal
2013-09-09 12:45 ` Nicolas Dechesne
2013-09-10 14:35 ` Rohit2 Jindal
2013-09-10 15:02 ` Nicolas Dechesne
2013-09-17 5:54 ` Rohit2 Jindal
2013-09-17 6:16 ` Khem Raj
2013-09-17 7:42 ` Paul Eggleton
[not found] ` <17797116383D4341B029FDF34C22BF6A5D7F898B21@GUREXMB01.ASIAN.AD.ARICENT.COM>
2013-09-17 9:02 ` Paul Eggleton
2013-09-17 9:05 ` Rohit2 Jindal
2013-09-17 9:27 ` Paul Eggleton [this message]
2013-10-03 3:43 ` Rohit2 Jindal
2013-10-03 9:08 ` Paul Eggleton
2013-10-23 9:01 ` Yocto toolchain compilation Issues Rohit2 Jindal
2013-10-29 4:02 ` Khem Raj
2013-11-14 9:26 ` yocto query on SR_URI creation Rohit2 Jindal
2013-09-12 8:39 ` Rohit2 Jindal
2013-09-12 9:17 ` Nicolas Dechesne
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=229904476.ZkVfXfKkUW@helios \
--to=paul.eggleton@linux.intel.com \
--cc=rohit2.jindal@aricent.com \
--cc=yocto@yoctoproject.org \
/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.