* Re: MCSDK rootfs boot directory
[not found] ` <ECA334CFBA16F74DB2C66A2F1181F4D63C2B4A6E@DLEE09.ent.ti.com>
@ 2013-05-03 16:28 ` Denys Dmytriyenko
0 siblings, 0 replies; only message in thread
From: Denys Dmytriyenko @ 2013-05-03 16:28 UTC (permalink / raw)
To: Zhang, Hao; +Cc: meta-arago, Karicheri, Muralidharan
Hao,
The rule is to use the same exact directory structure for .bbappend in our
layer, as the original .bb recipe in the original layer. Also, it has to have
the proper version in the name. So, check where the original oprofile recipe
is located (oe-core/meta/recipes-kernel/oprofile), which version you are using
(0.9.7) and that will give you the .bbappend name and location:
meta-arago/meta-arago-distro/recipes-kernel/oprofile/oprofile_0.9.7.bbappend
As the name suggests, this file is "appended" to the original recipe, so you
have a way to overwrite or change anything that is set in the original recipe:
PR_append = "-arago0"
RRECOMMENDS_${PN} = ""
The first line is to update the PR and indicate it has been arago-modified.
PS. This is exactly why this kind of discussion shouldn't be done in private,
as I keep explaining about bbappend to your team-mates over and over again.
I'm copying it to meta-arago list, which your team members should be already
subscribed to.
PS2. And if later you would like to submit this to meta-arago, I'd suggest
making it conditional for your platform, so others would still get the
original behaviour:
PR_append = "-arago0"
KERNELIMAGE = "kernel-vmlinux"
KERNELIMAGE_keystone = ""
RRECOMMENDS_${PN} = "${KERNELIMAGE}"
--
Denys
On Fri, May 03, 2013 at 11:58:03AM -0400, Zhang, Hao wrote:
> Denys,
>
> Can you suggest in which directory should I add oprofile.bbappend? Should I
> add it under meta-arago/meta-arago-distro/recipes-core/oprofile/
> oprofile.bbappend? And what is the oprofile version should I use?
>
> On Fri, May 03, 2013 at 11:42:12AM -0400, Karicheri, Muralidharan wrote:
> > Denys,
> >
> > So the documentation should state the vmlinux should be copied to the
> > boot folder of root fs to work with oprofile, right?
> >
> > >> On Thu, May 02, 2013 at 06:47:23PM -0400, Karicheri, Muralidharan wrote:
> > >> > Is there a way we can still keep oprofile in the Linux? User
> > >> > should be able to copy vmlinux manually and still use oprofile, right?
> > >>
> > >> Make a .bbappend for oprofile, and put this in:
> > >>
> > >> RRECOMMENDS_${PN} = ""
> > >>
> > >> That will stop it from pulling vmlinux, but make sure you document it
> > >> for users...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-03 16:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <ECA334CFBA16F74DB2C66A2F1181F4D63C2B2406@DLEE09.ent.ti.com>
[not found] ` <20130429172640.GB27211@edge>
[not found] ` <ECA334CFBA16F74DB2C66A2F1181F4D63C2B3FFF@DLEE09.ent.ti.com>
[not found] ` <20130501212128.GB32449@edge>
[not found] ` <ECA334CFBA16F74DB2C66A2F1181F4D63C2B46EC@DLEE09.ent.ti.com>
[not found] ` <3E54258959B69E4282D79E01AB1F32B7044E4A32@DFLE11.ent.ti.com>
[not found] ` <20130502231437.GK2364@edge>
[not found] ` <3E54258959B69E4282D79E01AB1F32B7044E4FFC@DFLE11.ent.ti.com>
[not found] ` <20130503154346.GD9213@edge>
[not found] ` <ECA334CFBA16F74DB2C66A2F1181F4D63C2B4A6E@DLEE09.ent.ti.com>
2013-05-03 16:28 ` MCSDK rootfs boot directory Denys Dmytriyenko
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.