Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CC4B1E00EEB; Mon, 22 Aug 2016 11:12:58 -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.220.193 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 11D26E00EE4 for ; Mon, 22 Aug 2016 11:12:57 -0700 (PDT) Received: by mail-qk0-f193.google.com with SMTP id r128so8904339qkc.1 for ; Mon, 22 Aug 2016 11:12:57 -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=RXILnjgNK2FI11sU2A5Chw1GjwR0QVA/MSKy2kN32aQ=; b=GqQxHX2Y7NpndgUZ7zQTlDi9dcf/IYZELorGm/pj1T2ygG6xyfUlP9uklYs1tX382D VmfKXG7Hv9p+8ZO8N80ncw7eI7Jps4aoJ08SFc+RohoFyRYy8RdDqS0fBMN4XCPvJ19X eq5pIEGNLuGUxXOEusRMGKjbOIucLj1ffVNXT2KzMeO/V3AcG4/bQEvGpEMMuVJfBZiM 0RGwr0U9f//krwmlKdXBRXbIXRAE2kwjA8o6e5vB8A4F6tv4Z4xxl7zMsfbymr0rMTWg 4ikdqhTrFdZYRhwPpkKdSsKfp3qmjukKWyKvM8+HaBc62mMYSh1/6cXVXxl2xvyCcXv/ 4Rtw== X-Gm-Message-State: AE9vXwMUqVs+e5emZ7xx/HgWc3dkW46pnBvVjknenUKattghTRkm/3p8sqD8HAVpVo+c0w== X-Received: by 10.55.74.14 with SMTP id x14mr24566952qka.102.1471889576908; Mon, 22 Aug 2016 11:12:56 -0700 (PDT) Received: from localhost ([177.127.4.56]) by smtp.gmail.com with ESMTPSA id d12sm11887079qkc.19.2016.08.22.11.12.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Aug 2016 11:12:56 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Mon, 22 Aug 2016 15:12:50 -0300 From: Otavio Salvador To: meta-freescale Mailing List Date: Mon, 22 Aug 2016 15:12:42 -0300 Message-Id: <20160822181242.4337-2-otavio@ossystems.com.br> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160822181242.4337-1-otavio@ossystems.com.br> References: <20160822181242.4337-1-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [meta-fsl-arm PATCH v2 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 18:12:58 -0000 The gcc-cross default linker hash has been changed 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 --- Changes in v2: - add PR change to imx-test patch recipes-bsp/imx-test/imx-test.inc | 2 +- recipes-bsp/imx-test/imx-test_5.4.1.bb | 2 ++ 2 files changed, 3 insertions(+), 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} diff --git a/recipes-bsp/imx-test/imx-test_5.4.1.bb b/recipes-bsp/imx-test/imx-test_5.4.1.bb index 04aad14..e33cc8d 100644 --- a/recipes-bsp/imx-test/imx-test_5.4.1.bb +++ b/recipes-bsp/imx-test/imx-test_5.4.1.bb @@ -5,4 +5,6 @@ include imx-test.inc SRC_URI[md5sum] = "fa1a5cdcfbdd6a3fed0ab4a5fd1f97bc" SRC_URI[sha256sum] = "997ec10bdc6991e9687a2c2fa5816bb50b08d73bcfe4093f988a7cac4bf0b06a" +PR = "r1" + COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" -- 2.9.3