All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arago-source-ipk: append kernel and u-boot short hash to source directory
@ 2014-02-21 17:18 Denys Dmytriyenko
  2014-02-21 17:25 ` Cooper Jr., Franklin
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-02-21 17:18 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arago-source-ipk: append kernel and u-boot short hash to source directory
  2014-02-21 17:18 [PATCH] arago-source-ipk: append kernel and u-boot short hash to source directory Denys Dmytriyenko
@ 2014-02-21 17:25 ` Cooper Jr., Franklin
  2014-02-21 17:29   ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Cooper Jr., Franklin @ 2014-02-21 17:25 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

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: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, February 21, 2014 11:18 AM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH] arago-source-ipk: append kernel and u-boot
> short hash to source directory
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arago-source-ipk: append kernel and u-boot short hash to source directory
  2014-02-21 17:25 ` Cooper Jr., Franklin
@ 2014-02-21 17:29   ` Denys Dmytriyenko
  0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-02-21 17:29 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago@arago-project.org

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: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > Sent: Friday, February 21, 2014 11:18 AM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH] arago-source-ipk: append kernel and u-boot
> > short hash to source directory
> > 
> > From: Denys Dmytriyenko <denys@ti.com>
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  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
> > 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-21 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-21 17:18 [PATCH] arago-source-ipk: append kernel and u-boot short hash to source directory Denys Dmytriyenko
2014-02-21 17:25 ` Cooper Jr., Franklin
2014-02-21 17:29   ` 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.