Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8AC51E00F4C; Mon, 22 Aug 2016 10:21:28 -0700 (PDT) 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,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.216.196 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 403E9E00BEB for ; Mon, 22 Aug 2016 10:21:17 -0700 (PDT) Received: by mail-qt0-f196.google.com with SMTP id j37so3002041qta.0 for ; Mon, 22 Aug 2016 10:21:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:organization; bh=IZdwpQzC/17Eu0wDognAvMQlKpmMApXh4KWwigztx7M=; b=PoauyfeDa5qmQpacIA8hSJvwWo32PpH4OsXmwl2wmUtRcsvKRYVjxyLRBF+Nw+XSBn Nw83sEt9JbkXicVmtFh3AtYsSpBIcHjB3ri2Hr8nyuYK2Ylk8LbDYkRMW7wlQMnYgDRj bS0WR9JvfgiTtSS4uyNEXmHxcer6Yu8PqH8KL9sqasADnmT89vxZDAd4kyau5D4SmLtp KmvICJxDnHhD/XFGw3+T0LLpcJJ93ffeCqbOtFwlUDSUWWU/3Gqk42KpxTPwMnwwU9y6 l5AbOczooL7HJXBrapqVifuvy8CE6qvUPAhMKC2kmh/ct6V/kLBmDSIaH/Htm8aHI68R gSVw== X-Gm-Message-State: AEkoousWMd1mNAJJwEJqzuGa+ybUtKxw2x8bghQzKj9yBQdiSUARTqjupnbnZEYlSAMRmA== X-Received: by 10.237.59.79 with SMTP id q15mr24200587qte.77.1471886476799; Mon, 22 Aug 2016 10:21:16 -0700 (PDT) Received: from localhost ([177.127.4.56]) by smtp.gmail.com with ESMTPSA id t126sm11754781qkd.47.2016.08.22.10.21.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Aug 2016 10:21:15 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Mon, 22 Aug 2016 14:21:09 -0300 From: Otavio Salvador To: meta-freescale Mailing List Date: Mon, 22 Aug 2016 14:19:39 -0300 Message-Id: <20160822171939.11936-2-otavio@ossystems.com.br> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160822171939.11936-1-otavio@ossystems.com.br> References: <20160822171939.11936-1-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [meta-fsl-arm PATCH 2/2] imx-test: obey LDFLAGS settings 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: Mon, 22 Aug 2016 17:21:28 -0000 The gcc-cross default linker hash has been change in OE-Core:fa436aeb, due that the broken recipes (which were not respecting the set LDFLAGS settings) are now exposed. This fixes the error setting the need Make flags so the build system obey the LDFLAGS setting. Signed-off-by: Otavio Salvador --- recipes-bsp/imx-test/imx-test.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc index 10dbb4d..f0b26a1 100644 --- a/recipes-bsp/imx-test/imx-test.inc +++ b/recipes-bsp/imx-test/imx-test.inc @@ -40,7 +40,6 @@ do_make_scripts[depends] += "virtual/kernel:do_install" do_compile() { CFLAGS="${TOOLCHAIN_OPTIONS}" - LDFLAGS="${TOOLCHAIN_OPTIONS} -L${STAGING_LIBDIR}" oe_runmake V=1 VERBOSE='' \ CROSS_COMPILE=${TARGET_PREFIX} \ INC="-I${STAGING_INCDIR} \ @@ -52,6 +51,7 @@ do_compile() { -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" \ + CC="${CC} -L${STAGING_LIBDIR} ${LDFLAGS}" \ LINUXPATH=${STAGING_KERNEL_DIR} \ KBUILD_OUTPUT=${STAGING_KERNEL_BUILDDIR} \ PLATFORM=${PLATFORM} -- 2.9.3