Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D9AB3E00858; Tue, 20 Jan 2015 03:34:13 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.216.47 listed in list.dnswl.org] Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9C33BE0082D for ; Tue, 20 Jan 2015 03:34:07 -0800 (PST) Received: by mail-qa0-f47.google.com with SMTP id n8so27788331qaq.6 for ; Tue, 20 Jan 2015 03:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :organization; bh=b5nTzP8EHe5bH60Y0QpYznBw6sZEunOV+updG7BAsj8=; b=riLu734/vE9UywM8aX2+vtcNkc2TQozl/Md323r8fcgV8G6x9Za9p8fYgAnfCYndfU gUoipc43Ho+QP+mV83v+jNKMxT2vEYd/snOlT17mjcBsNtkhiYtG48lGArs3i+pz3wEH 8YV6Qx5T1v3CBrAVoeQG5bSSqTuHPkxM8xdEaeY7X0yBe28rKQZ4ICtnNIsAuZ2Nh1Ma We86QdmfPQDubLjMDancYBxngNsyNZTq2oM/yEcyNBnde+j+IIrmdgM3ah+nXUljKGwL cxx8aU50g87N3pfTHexgaHwpqGI7P6Bafa6djfWbZEfpd0CbJJdq0KjgN2uUmKiUSQGd g56g== X-Received: by 10.224.14.84 with SMTP id f20mr56490831qaa.43.1421753647192; Tue, 20 Jan 2015 03:34:07 -0800 (PST) Received: from nano.lab.ossystems.com.br ([177.100.225.47]) by mx.google.com with ESMTPSA id f7sm14967898qaq.42.2015.01.20.03.34.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jan 2015 03:34:06 -0800 (PST) Sender: Otavio Salvador Received: by nano.lab.ossystems.com.br (Postfix, from userid 1000) id EEE291CAA8CB7; Tue, 20 Jan 2015 09:34:02 -0200 (BRST) From: Otavio Salvador To: meta-freescale Mailing List Date: Tue, 20 Jan 2015 09:33:53 -0200 Message-Id: <1421753634-13601-3-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1421753634-13601-1-git-send-email-otavio@ossystems.com.br> References: <1421753634-13601-1-git-send-email-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [PATCH 3/4] imx-test: Fix build with the work-shared kernel source 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: Tue, 20 Jan 2015 11:34:13 -0000 The Kernel sources has now been moved out of sstate control and to make this easier to spot this has been moved to tmp/work-shared/ directory. One good consequence of this change is that the built artifacts are controlled by the Linux build system itself and its path is now exported in STAGING_KERNEL_BUILDDIR variable. This path adapts the build params to this new layout. Change-Id: Ie27ef289aa3ae4c2593303ccbc450e0fd53b49cd Signed-off-by: Otavio Salvador --- recipes-bsp/imx-test/imx-test.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc index 6e41f61..cba72f5 100644 --- a/recipes-bsp/imx-test/imx-test.inc +++ b/recipes-bsp/imx-test/imx-test.inc @@ -41,13 +41,15 @@ do_compile() { CROSS_COMPILE=${TARGET_PREFIX} \ INC="-I${STAGING_INCDIR} \ -I${S}/include \ + -I${STAGING_KERNEL_BUILDDIR}/include/uapi \ + -I${STAGING_KERNEL_BUILDDIR}/include \ -I${STAGING_KERNEL_DIR}/include/uapi \ -I${STAGING_KERNEL_DIR}/include \ -I${STAGING_KERNEL_DIR}/arch/arm/include \ -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \ -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" \ LINUXPATH=${STAGING_KERNEL_DIR} \ - KBUILD_OUTPUT=${STAGING_KERNEL_DIR} \ + KBUILD_OUTPUT=${STAGING_KERNEL_BUILDDIR} \ PLATFORM=${PLATFORM} } -- 2.1.4