arago-source-ipk: append kernel and u-boot short hash to source directory
PATCH 1/1 arago-source-ipk: append kernel and u-boot short hash to source directory
From: Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/conf/distro/arago-source-ipk.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/conf/distro/arago-source-ipk.conf +2 -2
@@ -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"
Signature · 1 line
1.8.3.2
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.
Quoted 49 lines
-----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 directoryFrom: 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(-)meta-arago- renamed from meta-arago-distro/conf/distro/arago-source-ipk.conf +0
-0
distro/conf/distro/arago-source-ipk.conf
index 231e13d..d2a9600 100644meta-arago-distro/conf/distro/arago-source-ipk.conf +0
-0@@ -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"
meta-arago-distro/conf/distro/arago-source-ipk.conf +1
-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"meta-arago-distro/conf/distro/arago-source-ipk.conf +1
-1@@ -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
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.
Quoted 67 lines · Franklin
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.
Quoted 42 lines
-----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 directoryFrom: 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(-)meta-arago- renamed from meta-arago-distro/conf/distro/arago-source-ipk.conf +0
-0
distro/conf/distro/arago-source-ipk.conf
index 231e13d..d2a9600 100644meta-arago-distro/conf/distro/arago-source-ipk.conf +0
-0@@ -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"
meta-arago-distro/conf/distro/arago-source-ipk.conf +1
-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"meta-arago-distro/conf/distro/arago-source-ipk.conf +1
-1@@ -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"Quoted 7 lines
--
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