From patchwork Mon Oct 2 16:06: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: 114627 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp844367qgn; Mon, 2 Oct 2017 09:07:54 -0700 (PDT) X-Received: by 10.28.208.129 with SMTP id h123mr2707331wmg.25.1506960473986; Mon, 02 Oct 2017 09:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506960473; cv=none; d=google.com; s=arc-20160816; b=LiS+a9oBZ+xWgXyn87QpyWVIzDl+mIgPxTta25mn8wixSPduRhxscVrL4MDMdCyM1o hjuv8LIGc2XGjxlZWygtPiRN559YPqFZqKLjlqSpqZTzgVIia8rHSXIxHpSldDYPx2xl atlZaSzBb0pF4szQCQvwJtnSOTesX7rls/L+UlEui5OG2PxaGp6w801SkGwcE4AL0hBy ZKDngC5kRqdlcsLrBViqq+Y4HMIOQfBLQxnruHl315VhUgJ41OjYu8geodb74tjeh2XP zAX0pVZnsEORcJT4lhcCbRe8j0DSOVjXj599dv4jp0v4EVWzEXGbb4FyQHltddvZARSt MwlA== 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=bWrtI3Vm/6kHlh9DwB1ITRAn97/eG/BH91qDz39AUPo=; b=xhh7yC3sbzVWcTUze8hGp7tiOxt9KnFS0an2szAglHcYCvOF9rSSR4TdgCm7su2Tk3 wnwwNkhh7a9WSVjSHrE1w47OPHiUGmwR1t6lH5iriOIaqFXEkoTKQkCa717jyT664oY0 1nVh3/wpJgtyW6rLURgrXKd6pX5ogiu0rRwNSyBp3rPe9OxJu+eJTaM1mVIwar9c+PJD HQSiv97makMFFdNnyuVQ4kBaB8xRFT8SkY9Hjzc7SK+JDTOIc970cyk8yrVQlLr0+9Ok J3T1oilOx3Itclh+nt40G91haeLCzIRVhLeOOylZkLZS8fNubcraeaoSNPlAEcWyHnDN +4lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Dnr/6zJK; 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 u34si8974946wrf.325.2017.10.02.09.07.53; Mon, 02 Oct 2017 09:07:53 -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=Dnr/6zJK; 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 A952C77BDF; Mon, 2 Oct 2017 16:07:32 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 86615774DC for ; Mon, 2 Oct 2017 16:07:08 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id 124so1895707pgi.3 for ; Mon, 02 Oct 2017 09:07: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=hp5UE8lVlMv/t8lxme0tzS+qaBG/l+TCZCHpimI9pAU=; b=Dnr/6zJKcP02OoMmj3yI2SHB5nx/rpqvkNdJk4cS7Fhb8WDnRbr8aOfk0XsVrDkpRf R6V1Ch/6CV94toGwUluC3Fl+O68DIyTfaHyiLLWLf+1V/NmnuIHfdDuPc+dV4gQHeILM PQupwWH92JnbtjbZ9r0WKymNxz0YEkYCN6VVYYYTDAacCK7o6RWSxCVC5pHux/ZbDD4A v5iMvZbYEvZkovjL1q3FKwXo+0K5108ufzIAB6iLF1VSOyNBN//Ho5jqe9dfZJ2PNp76 SWF7gGycWkONea3PErvL/eO5Ib9VNHklLEsBVpyhOWP9OTDWcsy+9Cs/XUmmi7wZHTBI 3rtw== 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=hp5UE8lVlMv/t8lxme0tzS+qaBG/l+TCZCHpimI9pAU=; b=iykZqK4FF6JzpB0rx9FsSn5Wq5igUKO9118o+RXJUvjrRVT3/eHcXnfxSLjIimoaFF pg6xum6wwCakN+5wXsGCtakSd1GEl6qkwJbPSJajsG/wBoMC2MBWisznHFX0Fe1TrR0o 4E6HBO4bFl14H9aXsSI5d4AsUoyFhvnxE+Ubdhw0S4e8EXIOtIkkvQiwGv0ch1wve7KT tyfeZFC6iCZjrsqVWb2z0R5v5OzK1o8wNm37mg2hyWEW2KXHGyukWd6DWkvLON7HJLXg UM3ZK19Hm6NdihJ06dlfwFASv9wSD9XxenLarmbII4r0gVY2th1KJeI12UclieUdPZqZ kQMw== X-Gm-Message-State: AMCzsaUxWI0kqt+4paAdvAl7OY060G69TrUJGUp4mIH2mWFAlGReb5xg muwhfwiT8LJQqzSpqAXU7yhwtQ== X-Google-Smtp-Source: AOwi7QBGbW5e7Gomgqb4XZz7Nr646eL1w/jcNM/TZW87MKb/1ofu16gPi1AxlgxoImaV8OfXaHm8ig== X-Received: by 10.99.155.26 with SMTP id r26mr7899487pgd.139.1506960430315; Mon, 02 Oct 2017 09:07:10 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::1f76]) by smtp.gmail.com with ESMTPSA id f2sm17329405pfg.135.2017.10.02.09.07.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Oct 2017 09:07:09 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 2 Oct 2017 09:06:56 -0700 Message-Id: <20171002160657.39576-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171002160657.39576-1-raj.khem@gmail.com> References: <20171002160657.39576-1-raj.khem@gmail.com> Subject: [oe] [meta-initramfs][PATCH 4/5] klibc.bbclass: Pass TUNE_CCARGS in flags 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 This is needed for ABI compatibility since march defines if -mthumb means thumb1 or thumb2 Signed-off-by: Khem Raj --- meta-initramfs/classes/klibc.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.14.2 -- _______________________________________________ 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 1ec7b2b05..b7b72b728 100644 --- a/meta-initramfs/classes/klibc.bbclass +++ b/meta-initramfs/classes/klibc.bbclass @@ -11,6 +11,6 @@ CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_ CPP_forcevariable = "${CC} -E" # klcc uses own optimizations by default. See klcc(1) man file. -export CFLAGS="" -export CPPFLAGS="" -export LDFLAGS="" +export CFLAGS="${TUNE_CCARGS}" +export CPPFLAGS="${TUNE_CCARGS}" +export LDFLAGS="${TUNE_CCARGS}"