linux-qoriq: check $WORKDIR for config fragments
PATCH v2 1/1 linux-qoriq: check $WORKDIR for config fragments
Config fragments passed through SRC_URI are installed in $WORKDIR. Adapt the recipe to look there too.
--- recipes-kernel/linux/linux-qoriq.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-qoriq.inc +3 -1
@@ -25,7 +25,9 @@ do_configure_prepend() { # add config fragments for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do if [ -f "${deltacfg}" ]; then - ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} + ${S}/scripts/kconfig/merge_config.sh -m .config /${deltacfg} + elif [ -f "${WORKDIR}/${deltacfg}" ]; then + ${S}/scripts/kconfig/merge_config.sh -m .config ${WORKDIR}/${deltacfg} elif [ -f "${S}/arch/${ARCH}/configs/${deltacfg}" ]; then ${S}/scripts/kconfig/merge_config.sh -m .config \ ${S}/arch/powerpc/configs/${deltacfg}
Signature · 1 line
1.9.1
Hello Adrian,
recipes-kernel/linux/linux-qoriq.inc do_configure_prepend() { · line 28
Quoted 10 lines
-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Adrian Dudau
Sent: Thursday, February 25, 2016 10:30 PM# add config fragments for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do if [ -f "${deltacfg}" ]; thenrecipes-kernel/linux/linux-qoriq.inc +1
-1- ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} + ${S}/scripts/kconfig/merge_config.sh -m .config /${deltacfg}
[Luo Zhenhua-B19537] is it a typo of the extra "/" ahead of ${deltacfg}?
Best Regards,
Zhenhua
Quoted 7 lines · Zhenhua Luo
Hello Adrian,
Quoted 5 lines
-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Adrian Dudau
Sent: Thursday, February 25, 2016 10:30 PM
Quoted 6 lines
recipes-kernel/linux/linux-qoriq.inc do_configure_prepend() { · line 28
Quoted 5 lines
# add config fragments for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do if [ -f "${deltacfg}" ]; thenrecipes-kernel/linux/linux-qoriq.inc +1
-1- ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} + ${S}/scripts/kconfig/merge_config.sh -m .config /${deltacfg}[Luo Zhenhua-B19537] is it a typo of the extra "/" ahead of ${deltacfg}?
Yes it is, sorry. V3 of the patch incoming.
--Adrian
Quoted 5 lines
Best Regards,
Zhenhua