linux-qoriq-sdk : add config fragments with merge_config.sh from kernel tree
PATCH 1/1 linux-qoriq-sdk : add config fragments with merge_config.sh from kernel tree
From: Chunrong Guo <[email protected]>
--- recipes-kernel/linux/linux-qoriq-sdk.bb | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
recipes-kernel/linux/linux-qoriq-sdk.bb +3 -3
@@ -11,7 +11,7 @@ SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include- PR = "${INC_PR}.1" -DEPENDS_append = " libgcc kern-tools-native" +DEPENDS_append = " libgcc" KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}" KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
@@ -20,8 +20,8 @@ do_configure_prepend() { cp ${KERNEL_DEFCONFIG} ${B}/.config # add config fragments - if [ -a "${DELTA_KERNEL_DEFCONFIG}" ]; then - merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG} + if [ -f "${DELTA_KERNEL_DEFCONFIG}" ]; then + ${S}/scripts/kconfig/merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG} fi # append sdk version in kernel version if SDK_VERSION is defined
Signature · 1 line
1.7.5.4
Otavio Salvador
NAKQuoted 3 lines · On Fri, Oct 18, 2013 at 3:23 AM, <[email protected]> wrote:
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>
Nack!
recipes-kernel/linux/linux-qoriq-sdk.bb SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include- · line 14
Quoted 13 lines
recipes-kernel/linux/linux-qoriq-sdk.bb | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)recipes-kernel/linux/linux-qoriq-sdk.bb +1
-1@@ -11,7 +11,7 @@ SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include- PR = "${INC_PR}.1" -DEPENDS_append = " libgcc kern-tools-native" +DEPENDS_append = " libgcc"
This seems completely wrong. Have you tried this using a clean 'tmp' directory? I think it'd fail.
Quoted 22 lines
recipes-kernel/linux/linux-qoriq-sdk.bb +2
-3KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}" KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"@@ -20,8 +20,8 @@ do_configure_prepend() { cp ${KERNEL_DEFCONFIG} ${B}/.config # add config fragments - if [ -a "${DELTA_KERNEL_DEFCONFIG}" ]; then - merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG} + if [ -f "${DELTA_KERNEL_DEFCONFIG}" ]; then + ${S}/scripts/kconfig/merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG} fi # append sdk version in kernel version if SDK_VERSION is defined --1.7.5.4
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
I think the intention is to use the merge_config.sh provided by built kernel, so the dependency is not needed anymore.
The merge_config.sh provided by kern-tools-native and built kernel might be different. The change should make senses.
Best Regards,
Zhenhua
Quoted 70 lines
-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Otavio Salvador
Sent: Friday, October 18, 2013 11:12 PM
To: Guo Chunrong-B40290
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq-sdk : add config fragments withmerge_config.shfrom kernel treeQuoted 3 lines · On Fri, Oct 18, 2013 at 3:23 AM, <[email protected]> wrote:
From: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>Nack!
recipes-
Quoted 4 lines
recipes-kernel/linux/linux-qoriq-sdk.bb | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)recipes- renamed from recipes-kernel/linux/linux-qoriq-sdk.bb +0
-0
kernel/linux/linux-qoriq-sdk.bbrecipes-kernel/linux/linux-qoriq-sdk.bb SRC_URI += "file://libtraceevent-Remove-hard-coded-
Quoted 4 lines
index b7ca721..df18cfe 100644
recipes-kernel/linux/linux-qoriq-sdk.bb +0
-0@@ -11,7 +11,7 @@ SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include-
recipes-kernel/linux/linux-qoriq-sdk.bb SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include- · line 14
Quoted 5 lines
recipes-kernel/linux/linux-qoriq-sdk.bb +1
-1PR = "${INC_PR}.1" -DEPENDS_append = " libgcc kern-tools-native" +DEPENDS_append = " libgcc"This seems completely wrong. Have you tried this using a clean 'tmp' directory? I think it'd fail.
recipes-kernel/linux/linux-qoriq-sdk.bb do_configure_prepend() { · line 24
Quoted 11 lines
recipes-kernel/linux/linux-qoriq-sdk.bb +2
-2KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}" KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"@@ -20,8 +20,8 @@ do_configure_prepend() { cp ${KERNEL_DEFCONFIG} ${B}/.config # add config fragments - if [ -a "${DELTA_KERNEL_DEFCONFIG}" ]; then - merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG} + if [ -f "${DELTA_KERNEL_DEFCONFIG}" ]; then + ${S}/scripts/kconfig/merge_config.sh -m .config${DELTA_KERNEL_DEFCONFIG}
recipes-kernel/linux/linux-qoriq-sdk.bb do_configure_prepend() { · line 27
Quoted 3 lines
recipes-kernel/linux/linux-qoriq-sdk.bb +0
-0fi # append sdk version in kernel version if SDK_VERSION isdefined
Quoted 8 lines
--
1.7.5.4_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Quoted 3 lines · On Sat, Oct 19, 2013 at 5:01 AM, Luo Zhenhua-B19537 <[email protected]>…
I think the intention is to use the
merge_config.shprovided by built kernel, so the dependency is not needed anymore.The
merge_config.shprovided by kern-tools-native and built kernel might be different. The change should make senses.
No because this runs /before/ the build of the kernel so it will fail.
Otherwise I am missing something here...
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Hello,
I test this patch work well in new environment.
Test step:
1. add DELTA_KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/asf.cfg" in p4080ds.conf
2. add asf.cfg to ${S}/arch/powerpc/configs/
3. bitbake -c menuconfig Linux-qoriq-sdk
how do you test this ?
thanks,
chunrong
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, October 19, 2013 8:46 PM
To: Luo Zhenhua-B19537
Cc: Guo Chunrong-B40290; [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq-sdk : add config fragments with merge_config.sh from kernel tree
Quoted 3 lines · On Sat, Oct 19, 2013 at 5:01 AM, Luo Zhenhua-B19537 <[email protected]>…
I think the intention is to use the
merge_config.shprovided by built kernel, so the dependency is not needed anymore.The
merge_config.shprovided by kern-tools-native and built kernel might be different. The change should make senses.
No because this runs /before/ the build of the kernel so it will fail.
Otherwise I am missing something here...
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Hi Otavio,
Following is the build process.
1. do_patch installs the kernel source into ${S}, and merge_config.sh is available in ${S}/scripts/kconfig/ folder.
2. In do_configure task, ${S}/scripts/kconfig/merge_config.sh is called to merge delta kernel defconfig
3. go on subsequent steps
May I know what's the potential problem in your opinion?
Best Regards,
Zhenhua
Quoted 45 lines
-----Original Message-----
From: Guo Chunrong-B40290
Sent: Monday, October 21, 2013 5:55 PM
To: Otavio Salvador; Luo Zhenhua-B19537
Cc: [email protected]
Subject: RE: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq-sdk : add config fragments withmerge_config.shfrom kernel treeHello,
I test this patch work well in new environment.
Test step:
1. addDELTA_KERNEL_DEFCONFIG= "${S}/arch/powerpc/configs/asf.cfg" in p4080ds.conf 2. add asf.cfg to ${S}/arch/powerpc/configs/ 3. bitbake -c menuconfig Linux-qoriq-sdkhow do you test this ?
thanks,
chunrong-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, October 19, 2013 8:46 PM
To: Luo Zhenhua-B19537
Cc: Guo Chunrong-B40290; [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq-sdk : add config fragments withmerge_config.shfrom kernel treeQuoted 1 line · On Sat, Oct 19, 2013 at 5:01 AM, Luo Zhenhua-B19537 <[email protected]>…
I think the intention is to use the
merge_config.shprovided by builtkernel, so the dependency is not needed anymore.
Quoted 2 lines
The
merge_config.shprovided by kern-tools-native and built kernelmight be different. The change should make senses.
No because this runs /before/ the build of the kernel so it will fail.
Otherwise I am missing something here...
--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 6 lines · On Mon, Oct 21, 2013 at 8:01 AM, Luo Zhenhua-B19537 <[email protected]>…
Following is the build process.
1.do_patchinstalls the kernel source into ${S}, andmerge_config.shis available in ${S}/scripts/kconfig/ folder.
2. Indo_configuretask,${S}/scripts/kconfig/merge_config.shis called to merge delta kernel defconfig
3. go on subsequent stepsMay I know what's the potential problem in your opinion?
Oh right; you are doing it in the configure task, right.
So it should be fine.
Sorry for the noise.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Luo Zhenhua-B19537
AppliedApplied in master and dora, thanks.
Best Regards,
Zhenhua
Quoted 29 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Monday, October 21, 2013 7:17 PM
To: Luo Zhenhua-B19537
Cc: Guo Chunrong-B40290; [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq-sdk : add config fragments withmerge_config.shfrom kernel treeQuoted 2 lines · On Mon, Oct 21, 2013 at 8:01 AM, Luo Zhenhua-B19537 <[email protected]>…
Following is the build process.
1.do_patchinstalls the kernel source into ${S}, andmerge_config.shis available in ${S}/scripts/kconfig/ folder.
Quoted 4 lines
2. In
do_configuretask,${S}/scripts/kconfig/merge_config.shis called to merge delta kernel defconfig 3. go on subsequent stepsMay I know what's the potential problem in your opinion?
Oh right; you are doing it in the configure task, right.
So it should be fine.
Sorry for the noise.
--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750