Actually, KERNEL_LOCALVERSION is generic itself. You can change it in a
bbappend and it will propagate into kernel package, binary and sources and all
will be matching. So, if you don't like the -gHASH suffix, you can do away
with -tiX.X.X.X suffix instead and it will be populated everywhere.
On Fri, Feb 21, 2014 at 05:25:48PM +0000, Cooper Jr., Franklin wrote:
> Can we tweak this to use a generic variable
>
> SRCIPK_INSTALL_DIR_pn-linux-ti-staging = "board-support/linux-${PV}${<generic
> variable name>}"
>
> And then in the kernel recipe
>
> <generic variable name> = "${KERNEL_LOCALVERSION}"
>
> I want to be able to override <generic variable name> without touching the
> .conf file.
>
> Similar comment for u-boot.
>
>
>
> > -----Original Message-----
> > From: [email protected] [mailto:meta-arago-
> > [email protected]] On Behalf Of Denys Dmytriyenko
> > Sent: Friday, February 21, 2014 11:18 AM
> > To: [email protected]
> > Subject: [meta-arago] [PATCH] arago-source-ipk: append kernel and u-boot
> > short hash to source directory
> >
> > From: Denys Dmytriyenko <[email protected]>
> >
> > Signed-off-by: Denys Dmytriyenko <[email protected]>
> > ---
> > meta-arago-distro/conf/distro/arago-source-ipk.conf | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-arago-distro/conf/distro/arago-source-ipk.conf
> > b/meta-arago-
> > distro/conf/distro/arago-source-ipk.conf
> > index 231e13d..d2a9600 100644
> > --- a/meta-arago-distro/conf/distro/arago-source-ipk.conf
> > +++ b/meta-arago-distro/conf/distro/arago-source-ipk.conf
> > @@ -116,7 +116,7 @@ SRCIPK_INSTALL_DIR_pn-x-load_beagleboard =
> > "board-support/${P}"
> > SRCIPK_PACKAGE_ARCH_pn-x-load = "${MACHINE_ARCH}"
> >
> > CREATE_SRCIPK_pn-u-boot-ti-staging = "1"
> > -SRCIPK_INSTALL_DIR_pn-u-boot-ti-staging = "board-support/u-boot-${PV}"
> > +SRCIPK_INSTALL_DIR_pn-u-boot-ti-staging = "board-support/u-boot-
> > ${PV}${UBOOT_LOCALVERSION}"
> > SRCIPK_PACKAGE_ARCH_pn-u-boot-ti-staging = "${MACHINE_ARCH}"
> > SRCIPK_PRESERVE_GIT_pn-u-boot-ti-staging = "true"
> >
> > @@ -146,7 +146,7 @@ SRCIPK_INSTALL_DIR_pn-u-boot-am3517 = "board-
> > support/u-boot-${UVER}-psp${PSPREL}
> > SRCIPK_PACKAGE_ARCH_pn-u-boot-am3517 = "${MACHINE_ARCH}"
> >
> > CREATE_SRCIPK_pn-linux-ti-staging = "1"
> > -SRCIPK_INSTALL_DIR_pn-linux-ti-staging = "board-support/linux-${PV}"
> > +SRCIPK_INSTALL_DIR_pn-linux-ti-staging = "board-support/linux-
> > ${PV}${KERNEL_LOCALVERSION}"
> > SRCIPK_PACKAGE_ARCH_pn-linux-ti-staging = "${MACHINE_ARCH}"
> > SRCIPK_PRESERVE_GIT_pn-linux-ti-staging = "true"
> >
> > --
> > 1.8.3.2
> >
> > _______________________________________________
> > meta-arago mailing list
> > [email protected]
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago