From: Denys Dmytriyenko <denys@ti.com>
To: "Cooper Jr., Franklin" <fcooper@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [PATCHv2 3/4] linux-ti-staging: enable LOCALVERSION and AUTOREV
Date: Mon, 26 Aug 2013 10:48:07 -0400 [thread overview]
Message-ID: <20130826144807.GA20807@denix.org> (raw)
In-Reply-To: <8F29D6B095ED194EA1980491A5E029710C52B79D@DFLE08.ent.ti.com>
On Fri, Aug 23, 2013 at 09:54:44PM +0000, Cooper Jr., Franklin wrote:
>
>
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, August 23, 2013 4:15 PM
> > To: Cooper Jr., Franklin
> > Cc: Denys Dmytriyenko; meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCHv2 3/4] linux-ti-staging: enable LOCALVERSION
> > and AUTOREV
> >
> > On Fri, Aug 23, 2013 at 09:08:06PM +0000, Cooper Jr., Franklin wrote:
> > >
> > >
> > > > -----Original Message-----
> > > > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > > > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > > > Sent: Friday, August 23, 2013 4:04 PM
> > > > To: meta-arago@arago-project.org
> > > > Subject: [meta-arago] [PATCHv2 3/4] linux-ti-staging: enable
> > > > LOCALVERSION and AUTOREV
> > > >
> > > > From: Denys Dmytriyenko <denys@ti.com>
> > > >
> > > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > ---
> > > > v2 - removed the comment about upstreaming LOCALVERSION, may not
> > > > happen
> > > >
> > > > .../recipes-kernel/linux/linux-ti-staging_git.bbappend | 17
> > > > +++++++++++++++++
> > > > 1 file changed, 17 insertions(+)
> > > > create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-ti-
> > > > staging_git.bbappend
> > > >
> > > > diff --git
> > > > a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_git.bbappe
> > > > nd
> > > > b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_git.bbappe
> > > > nd
> > > > new file mode 100644
> > > > index 0000000..f99482c
> > > > --- /dev/null
> > > > +++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_git.bb
> > > > +++ append
> > > > @@ -0,0 +1,17 @@
> > > > +MACHINE_KERNEL_PR_append = "-arago0"
> > > > +
> > > > +FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
> > > > +
> > > > +require copy-defconfig.inc
> >
> > > [Franklin] Are we really planning on have different defconfigs for
> > > each machine? I thought with DT all machines will share the same defconfig.
> >
> > Yes, linux-ti-staging uses a blank defconfig that points to omap2plus_defconfig.
> >
> > But copy-defconfig just saves the current config for SDK use - they will be the
> > same for machines using this recipe. But still, there are currently only 2 OMAP
> > machines supported by this kernel and will be 2 Sitara machines with this
> > patchset. If/when we switch remaining SDK machines to use the latest kernel,
> > we can revisit this matter, I guess.
> [Franklin]
> I guess my point was that copy-defconfig.inc renames the .config to
> tisdk_${MACHINE}_defconfig. Can we set CONFIG_NAME to "omap2plus_defconfig"
> since we should stick with that defconfig name for all machines?
And what I was trying to say before, is that "all machines" is currently only 2
out of several and even then, omap2plus_defconfig in the kernel may not match
exactly the one produced by the SDK - there may be some mangling involved to
adjust some config options to sane defaults (although we no longer include
linux.inc with that code), plus we run "make oldconfig" on it, which checks
dependecies between config options and may change some os them. In other
words: omap2plus_defconfig != .config which we package in the SDK. It is like
the difference between pristine sources and sources that were patched and
configured...
--
Denys
> > > > +SRCREV = "${AUTOREV}"
> > > > +
> > > > +KERNEL_LOCALVERSION = "-g${@d.getVar('SRCPV',
> > > > True).partition('+')[2][0:7]}"
> > > > +
> > > > +kernel_do_configure_prepend() {
> > > > + if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]
> > > > + then
> > > > + echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
> > > > + echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
> > > > + fi
> > > > +}
> > > > --
> > > > 1.8.3.2
> > > >
> > > > _______________________________________________
> > > > meta-arago mailing list
> > > > meta-arago@arago-project.org
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
next prev parent reply other threads:[~2013-08-26 14:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-23 21:03 [PATCHv2 3/4] linux-ti-staging: enable LOCALVERSION and AUTOREV Denys Dmytriyenko
2013-08-23 21:03 ` [PATCHv2 4/4] u-boot-ti-staging: " Denys Dmytriyenko
2013-08-23 21:08 ` [PATCHv2 3/4] linux-ti-staging: " Cooper Jr., Franklin
2013-08-23 21:15 ` Denys Dmytriyenko
2013-08-23 21:54 ` Cooper Jr., Franklin
2013-08-26 13:11 ` Maupin, Chase
2013-08-26 17:58 ` Cooper Jr., Franklin
2013-08-26 14:48 ` Denys Dmytriyenko [this message]
2013-08-26 18:04 ` Cooper Jr., Franklin
2013-08-26 18:56 ` Maupin, Chase
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=20130826144807.GA20807@denix.org \
--to=denys@ti.com \
--cc=fcooper@ti.com \
--cc=meta-arago@arago-project.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.