Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 794F4E00CA6; Thu, 25 Feb 2016 06:29:49 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [192.36.1.252 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by yocto-www.yoctoproject.org (Postfix) with SMTP id 6D852E00C97 for ; Thu, 25 Feb 2016 06:29:44 -0800 (PST) Received: from sestofb10.enea.se (172.21.3.145) by smtp.enea.com (172.21.1.208) with Microsoft SMTP Server id 14.3.266.1; Thu, 25 Feb 2016 15:29:43 +0100 Received: by sestofb10.enea.se (Postfix, from userid 4451) id 156D328BA23; Thu, 25 Feb 2016 15:29:43 +0100 (CET) From: Adrian Dudau To: Date: Thu, 25 Feb 2016 15:29:43 +0100 Message-ID: <1456410583-43741-1-git-send-email-adrian.dudau@enea.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Received-SPF: None (SESTOEX08.enea.se: adrian.dudau@enea.com does not designate permitted sender hosts) Subject: [meta-fsl-ppc][PATCH v2] linux-qoriq: check $WORKDIR for config fragments X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 14:29:49 -0000 Content-Type: text/plain Config fragments passed through SRC_URI are installed in $WORKDIR. Adapt the recipe to look there too. Signed-off-by: Adrian Dudau --- recipes-kernel/linux/linux-qoriq.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index d28e75d..ad61baa 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/recipes-kernel/linux/linux-qoriq.inc @@ -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} -- 1.9.1