From patchwork Sun Nov 4 23:11:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 150125 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1945705ljp; Sun, 4 Nov 2018 15:12:09 -0800 (PST) X-Google-Smtp-Source: AJdET5cSfO8nL4P9TCn1Fjw5NGxUIiYX7/CSGxyqkDhIyCbdypc51yWCZZN16ghFcNa/JxY8Y9Op X-Received: by 2002:a17:902:bccc:: with SMTP id o12-v6mr15789318pls.281.1541373128951; Sun, 04 Nov 2018 15:12:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541373128; cv=none; d=google.com; s=arc-20160816; b=GxzsG24IplbhZAVoVRL/UgzH960vpQ1PflFfCTsqreRIn+u77sAvufD4f5mhtu56/P /ty6GXgqAeIPNEPpie9IYE9Jxq5vt6XVx9NcVCaK8loSI8kuptqtVO3OVNYhqBY/M0T5 OVFFzrEsaKp9ppuS6f9tvM9VUlMMdbyZl/rN1QoiieZ6DX0wXepui0RyyVnYkL3UXYey BadBx5xVdc6pvHJTR89Msuixb/fkPuUqH5/PVUMYmldvPXYeSTR6NGMzfZ22xrQSMFlN hokJOx8cIGh1Va0RKaSavwp85g28UntMbf7ik0ioQO9E06WaPhP2KnBmTdHwEbjTlLR3 l0fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FYux4C2W77ompUQVjAbeAh3v7QT2cdZi06vXygmle5U=; b=QsBIxcZolpt+OZx8cxDU4QXawfMZowHuB7+4SByQswQlPMC120pB7P+73vjZtFzpMs AQOTzQD2rYysunlbpZsJkm+nKdYmvaT6+MHbiCRXBi1dm082V6bDJDqsDJLHzBfkHDLg HBE0G1By2xSjUUcU3Y/qLn4S8Lqe7gZ82NjqFGlWYaONUWrchudp0vPg9ummw8GwHTBI rX8kVqhHeu2NUVYMCvtJUXUQstelIH31FZMpDpMDaGcdyRpe+9TJnGRwQ+fjtQLwXPqP XZffBuYAINTwQulhFS+QnEsOaunoXtfydfEGz+baRP8M1W1qkTfidMrX93Il+NfbwvER Sxag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=X6v2TWnz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d123-v6si39433843pgc.393.2018.11.04.15.12.08; Sun, 04 Nov 2018 15:12:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=X6v2TWnz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730592AbeKEI2o (ORCPT + 32 others); Mon, 5 Nov 2018 03:28:44 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36638 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730484AbeKEI2o (ORCPT ); Mon, 5 Nov 2018 03:28:44 -0500 Received: by mail-pg1-f195.google.com with SMTP id z17-v6so3330895pgv.3; Sun, 04 Nov 2018 15:12:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FYux4C2W77ompUQVjAbeAh3v7QT2cdZi06vXygmle5U=; b=X6v2TWnzkxTvrtjhspedABX3+3IMc2u8jvE7A+YZLOcXW01H7Oh9o7TuZhFoHv0tyE yq/YwK+NniMGr9wnbckTEX0bRAg7Ffu8d29k6PGBgTgPsC0BakRjE9HNBCCNPm/6PF4A F0/2yNXJg2A8ZOHmg25yOb0gJVDz7lxRUwk9nG19M+biDg4mUqgLqit8gegZKCLBijAq hRQzefA7wYdGndb6gMg1AmTsOTUmmjypb+KbNFKo2Xpz100YNfKAXnniR+n1sgKu8xlc omr8KAPjbWlBJuMulPxaFIvLD+YLDjmsktcoRd5RzhQs7JG7Rxsx2DfojgCnOVRhjkmi 9KYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=FYux4C2W77ompUQVjAbeAh3v7QT2cdZi06vXygmle5U=; b=MClhQBRB63nOHLVY7r/WCV0SZ1LAGwjqlDnQNYA71dT/Id+AQ8wjKsiBl9/ZqehJGz 7qYS6MD2t0la7vYBWPci/4L7G7eo4VCngqd6LCttvREk2lFjj2pa1W5hTr7lHjZYfxtT XeeagDRERHEDmvRL1LDxMutM4AnBlESbOn1cWFI2pjipo2knuJQW6Tbchl7QTtBUGL+u 67nxGE9WX2tJ4wkKny3D1xyvpiIsKiZwEvMHkEQcipiNDdvNh/T//TJiHn8kZfBwJica BD7YPa6ltuyg/8g+mvC5DxNA04St9uRZlnrkSLO+ULK/AoK71H5CuZ9EhcmE/kcR+BVq l/ng== X-Gm-Message-State: AGRZ1gIYq//lY3tm+u0lVbXLQ5SoWjVhimieQTx/LERhOkTxekZtSpj/ XYlU5t+nSmyGbLa9+khL/EU= X-Received: by 2002:a63:4e18:: with SMTP id c24-v6mr17877627pgb.6.1541373125365; Sun, 04 Nov 2018 15:12:05 -0800 (PST) Received: from aurora.jms.id.au (pa49-178-43-40.pa.nsw.optusnet.com.au. [49.178.43.40]) by smtp.gmail.com with ESMTPSA id v185-v6sm45133255pfv.48.2018.11.04.15.11.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Nov 2018 15:12:04 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Mon, 05 Nov 2018 09:41:53 +1030 From: Joel Stanley To: Michael Ellerman , Nick Desaulniers Cc: Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/2] Makefile: Export clang toolchain variables Date: Mon, 5 Nov 2018 09:41:32 +1030 Message-Id: <20181104231133.30848-2-joel@jms.id.au> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181104231133.30848-1-joel@jms.id.au> References: <20181104231133.30848-1-joel@jms.id.au> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The powerpc makefile will use these in it's boot wrapper. Signed-off-by: Joel Stanley --- Makefile | 3 +++ 1 file changed, 3 insertions(+) -- 2.19.1 Tested-by: Daniel Axtens # powerpc 64-bit BE diff --git a/Makefile b/Makefile index 9aa352b38815..a2db3c885b38 100644 --- a/Makefile +++ b/Makefile @@ -495,6 +495,9 @@ endif ifneq ($(GCC_TOOLCHAIN),) CLANG_GCC_TC := --gcc-toolchain=$(GCC_TOOLCHAIN) endif +export CLANG_TARGET +export CLANG_GCC_TC +export CLANG_PREFIX KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) $(CLANG_PREFIX) KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) $(CLANG_PREFIX) KBUILD_CFLAGS += $(call cc-option, -no-integrated-as)