Skip to contentSkip to conversation

linux-qoriq: check $WORKDIR for config fragments

PATCH New Adrian Dudau 1 participant 1 message Mar 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v3 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 | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/linux/linux-qoriq.inc +2 -0
index d28e75d..15a9f1a 100644
@@ -26,6 +26,8 @@ do_configure_prepend() {
     for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do
         if [ -f "${deltacfg}" ]; then
             ${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