From patchwork Mon Sep 11 15:10:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112200 Delivered-To: patch@linaro.org Received: by 10.100.153.131 with SMTP id 3csp5932115pji; Mon, 11 Sep 2017 08:11:48 -0700 (PDT) X-Received: by 10.36.77.83 with SMTP id l80mr12971046itb.148.1505142708551; Mon, 11 Sep 2017 08:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505142708; cv=none; d=google.com; s=arc-20160816; b=LgHChzKxBk4Hv51CSqK33yGub891tVM/6NAB8fn2i1DomMCgZVlXIrm7aoTenTsIOT VDhmDs4zqKNi3L1oOVD5g6x5/q5fESkbtaS0gXoN14aJzD/ITG5+E0wbgtZiIlbWiFZn LfnaGTybflsKb06FHrXvmFuAbE+afSwcH/F088FwH30MDUIt0hNj6pSTr6XDKS2IJtQJ beqq3heNEXLsCpAgSLHQcTPdxjG1uLmoyoTW0DDrhXHdRTVNHqNsWFuRrUOAclKiq+Mg 69UzvWtEsluOVEfkBJNpTinRwWBPCUZiZgd9378OhUZrh0J4dmNskq/UrHHx/ArCDaqZ Ek4Q== 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=gY5eXBeX6KIJBiJtmGmxGu60Dt2on/qSZ/C4AgPf3TI=; b=IXjSczwXq+Sn99cB3tvnG2NBwA/irorrpftd2u/6zB/qaWLpGGpO0U0Pm36ajo+CeY HM8cjQJY5YdOpjxWG7Vlkknswjv71yoNAxrahjjaBS3nynlt+S99Ls2gmLe9SUJvAKc5 oBa/Z9ePau095ecEMkohD0m9nVrqHiDXU8JPyq4PkBGxp1rquQIen2Qv9QQn/TLFpJfe bwA65FagZTQa6t2NXLf0irARG9OekqB7Ptn00Vvrxv0eVjx/AXsPMZQGTKFyjGy7bHew ILd0Hk9RBQvwZRack3sXmm8ivpqH0Zm9TT1eLEJ6qaXcQZpN4yD4nzOTbnBbPpdIavMq 10TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=BG8x8ZjD; 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 a184si8617610ioe.132.2017.09.11.08.11.48; Mon, 11 Sep 2017 08:11:48 -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=BG8x8ZjD; 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 4F0CF782AF; Mon, 11 Sep 2017 15:11:23 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 3992F78282 for ; Mon, 11 Sep 2017 15:11:08 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id e69so3225680pfg.4 for ; Mon, 11 Sep 2017 08:11:10 -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=BmKHU0e76M98stZx0nfDom+mazWU2pOzeKMGOhHQpVs=; b=BG8x8ZjDuPYtemwfZgISL0Wusz5tZTpPclyfemKfKhqxXT8s6MqPH8vAN1Omehyrgc YnrQ7L2aeaUYiR2GdVJ/QUJhPJVmBZjcyXaWdpABUOsqDvAHLYZnVB7dvsbK+24ZVKrj 4U+4JE0TJ8TI+nJIP91NJK3wGX5b49SuedFdNK0ELgOVfRz2mFpD/Aw2ERvm8FUNwzZ5 l/SUDIlVziIqMQvjTWN0T7kMGTuFXSMl/BfQ5LRHbu+AElS5Ty9uYz36M5IlooNydcrS LCpradHIPJ0BU6DW5A7gODNzYDPuq1kmhzxbwsGJA9rYIjBeY6GvXGElUOfELrqiQeb0 2mJw== 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=BmKHU0e76M98stZx0nfDom+mazWU2pOzeKMGOhHQpVs=; b=LQmq5PI7YkBIcerNbbszaK5cEKn3pDrCyn5AImLpAPSvQycohTfqc6PbUtzE6ApHZ2 KHOO/Dbt4buph+IQS9phJgEkbZ8B7/1y/FwVe6gZlAxUya0WTnnn2z7LLltrBKNmZJID nw9I0Q9IqqqTL0lyMaImpzUzHJFv2IGeJud8Jj7tD7fOuDpLLSlBqqmQ3IC+HKBNGCne 2hx7d4ZbsOPaBv2VpFTNnTl9YbW75pJW2e43Itut9lb4ZV+U8gOHOO3NODrwEbXybmVR tYnm9oiroePh/WnmspaRNQR8d46qqCHZKtwoI9jT8RS/LEPG7yaNL2mH978ygIlcsHyv Kw5A== X-Gm-Message-State: AHPjjUghATKSm0HDoiaIerPVkwzsJOuf0OrxldUFEIuQp1GluazQ9W3K c95vIQ/0JStyJde/ X-Google-Smtp-Source: ADKCNb7oQjDKITSrrxKBbQspwn8XxhMV4Oq/EmP6+e8vNaolxQv2maPMwl0CXPri5OS0eMWJuwwtNw== X-Received: by 10.84.209.197 with SMTP id y63mr14262509plh.316.1505142669688; Mon, 11 Sep 2017 08:11:09 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id 75sm4374067pfx.145.2017.09.11.08.11.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 08:11:08 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 11 Sep 2017 08:10:56 -0700 Message-Id: <20170911151056.4577-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170911151056.4577-1-raj.khem@gmail.com> References: <20170911151056.4577-1-raj.khem@gmail.com> Subject: [oe] [meta-initramfs][PATCH 5/5] 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 --- 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 2aacf241e..855382579 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"