From patchwork Wed Sep 13 04:19:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112397 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp482081qgf; Tue, 12 Sep 2017 21:20:26 -0700 (PDT) X-Received: by 10.84.210.45 with SMTP id z42mr19321452plh.178.1505276426095; Tue, 12 Sep 2017 21:20:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505276426; cv=none; d=google.com; s=arc-20160816; b=XqrJ1j4PxeOwYCY/eeUa4y9HJlslBDMGU2XPD2sXYxMajcgYODMO4iGZUMIypzTdh9 cdlPtcFcB3XdYhq4lNeCpu5wMvYTRfnqOX30nDk5eF2r+P9NTpUip4UmtiTSzFd0VFy4 k8lfQhenjt3Ht6mStUKKx2DonsgIBOPq9n5npyTvpJhfjElOuPc5/iw9rVoELgyysMSx IiMAABACjjSa7nk1yGlLXmqUvTPo8VxaIjDRu3Iwtho1y9VzW9eiTooBTCqMIV/G7tIC q9aeyRNDlyI71wUNIN5lbQVVGmoqs5yycX3Qetm78mEyHzAUfQMf8hG+ztgNhLXXgI7S 6niw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=fLYlgMZKHmEp+9l8tMRmvgKgV1YAmt3+YVJiaquX6zM=; b=CXorPORwCaOZBytIwjFGpEnOdDwS9K9WZcgHp8VPNFxNRogypCsobHVuLaGXB1sJ66 LgrmkoSKqor2vsjVLO0bz5Udyxg9GlY3aAc9vIZL8KEx+g+09yNXsnOccPA+lsQD76i9 QzIF8LINXK3nxEiNDNfDB72YDSyArvD9ELCpu4yaF46yEA+ClqivzufMTEX0ZYcwYf7X dAidyekb1DuT7xM509J8aYfvJVX1rQn5qlWVzLotvWvPCjk45+uY4EO4TuboFHgETsK6 tczxuAfZPm+7nKDmp04MjvSj4cKTlHHQHiuooJnC/ireqcIhuUz3idGVJqRXGoEFuQNI khzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dhzyYcws; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p5si8596675pgf.113.2017.09.12.21.20.25; Tue, 12 Sep 2017 21:20:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dhzyYcws; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 17DF4785CE; Wed, 13 Sep 2017 04:20:21 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 0DA96785B1 for ; Wed, 13 Sep 2017 04:19:23 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id g65so6821188pfe.1 for ; Tue, 12 Sep 2017 21:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9DaT1JacXXOh/Xn/r0l78ZasVSz5zBrjpCd243uTIF0=; b=dhzyYcwsaXmCSoResJVF73pLLD+QY0PClhPshFKuWTDAsjL98taG6Zd+jGnrAMJFNZ PSPHzw5acxRCApcf1+Td5nUmi+d2VPSWyeRvkac5jTe0NUTlqUFP1opWvmSec9p3XDRE zj7ihEvkpKPEx5X1brsZKNj/Gaeh65qiI1VTOWLW+xo1PF7vIs5fiYhqiIIrvymWHRzZ 5itNztw20F0tMqCR1T9p1jx98lfe5rs+Hu3kuMY9cG4MimOcOLM2lClh1+CRnji/Nbrf VU5vKzeGuOCSyqmMiHZg6iNhbCIwB771YQJ6dXY64i70c7uraIFIUG6ukks/U5Hr19CY NRbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9DaT1JacXXOh/Xn/r0l78ZasVSz5zBrjpCd243uTIF0=; b=mtvEXYhgU2fGGYncfKzHlOX9UFDltnEjTflDKu65+fr74u5Z8BVBog2IrHO1NsKCZ0 K6dLJ79c0P6T2YWbVNggfFPtAnPp5p4g47K8etmn17XxjK99OkmFydU3k5D/2BaEfyg0 UvcPT1CMjB4R4RY373xxxF/DZrtvcgiSHo5hvtxZgMpEJxjg9St4AucHnOdfrkQYUQEf jZfoo9hfiuqd2yZWAnDBNOWqiSEgEfa+nNw9/IE3rp0ZtBcRXqC+dn3aDujzPOom6qEl 8mobYaLXUB3XY+02pZFPKcJLZ0wi1xcxjthUTunipNJM+pjIyyMNVRxsknvHfaRoyZX1 YuOQ== X-Gm-Message-State: AHPjjUjebJ0TW5I18MoQPRhPN3olYB6mGIFnzQHxFFg7vvn/gfNusiQ0 J3hdgYSTRwp0YJms X-Google-Smtp-Source: ADKCNb6R0HtmK/wyYrEkOgmAsTfFvzzZqJ/TpAzb+nZDu82Q2v1J0v+DAh4Zwzd1/hilrfJFIHdSxw== X-Received: by 10.98.209.68 with SMTP id t4mr7663358pfl.315.1505276365474; Tue, 12 Sep 2017 21:19:25 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id k14sm19270258pgt.3.2017.09.12.21.19.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 21:19:24 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 12 Sep 2017 21:19:14 -0700 Message-Id: <20170913041914.39999-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170913041914.39999-1-raj.khem@gmail.com> References: <20170913041914.39999-1-raj.khem@gmail.com> Subject: [oe] [meta-initramfs][PATCH V2 3/3] klibc.bbclass: Add -mfloat-abi on arm X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Default toolchain is not configured for hard float therefore we need to pass the right -mfloat-abi option Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- Changes in V2: Rebased meta-initramfs/classes/klibc.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass index c9de58cec..2aae4a8e9 100644 --- a/meta-initramfs/classes/klibc.bbclass +++ b/meta-initramfs/classes/klibc.bbclass @@ -3,7 +3,7 @@ DEPENDS =+ "klcc-cross" # Default for klcc is to build static binaries. # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version. -CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" +CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} ${@ ' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" CPP_forcevariable = "${CC} -E"