Re: [meta-fsl-ppc][PATCH] linux-qoriq: use correct path to access config2:w fragments

Zhenhua Luo

Hi Adrian,

The patch breaks the kernel build of machines in meta-fsl-ppc layer, can you please add the support for defconfig which is maintained in Yocto instead of replacing the absolute path defconfig support?

Best Regards,


-----Original Message-----
From: meta-freescale-bounces@... [mailto:meta-freescale-
bounces@...] On Behalf Of Adrian Dudau
Sent: Wednesday, February 24, 2016 6:40 PM
To: meta-freescale@...
Subject: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq: use correct path
to access config2:w fragments

Config fragments passed through SRC_URI are installed in $WORKDIR but the
recipe is looking for them in the current directory which in this case is different.

Signed-off-by: Adrian Dudau <adrian.dudau@...>
recipes-kernel/linux/ | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/ b/recipes-kernel/linux/linux-
index d28e75d..80edede 100644
--- a/recipes-kernel/linux/
+++ b/recipes-kernel/linux/
@@ -24,8 +24,8 @@ do_configure_prepend() {

# add config fragments
for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do
- if [ -f "${deltacfg}" ]; then
- ${S}/scripts/kconfig/ -m .config ${deltacfg}
+ if [ -f "${WORKDIR}/${deltacfg}" ]; then
+ ${S}/scripts/kconfig/ -m .config
+ ${WORKDIR}/${deltacfg}
elif [ -f "${S}/arch/${ARCH}/configs/${deltacfg}" ]; then
${S}/scripts/kconfig/ -m .config \

meta-freescale mailing list

Join { to automatically receive all group messages.