Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1117540imm; Mon, 9 Jul 2018 17:49:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd3Rz/Cvl00O+iiwZ3/BGJjqOVzp6DtuoDyUKEBBp/L5YbH3qyhRfWNxJ3twWAmwasvn6Pk X-Received: by 2002:a17:902:43a4:: with SMTP id j33-v6mr22554956pld.118.1531183746978; Mon, 09 Jul 2018 17:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531183746; cv=none; d=google.com; s=arc-20160816; b=SZUwZVCa385mhJWUmjlOFCandNNrsXkgDs0Yvnx+QCCHQXbHDctpnQai2Uh5uw8w0t +6Fj+3g+BcZBeFWpQZf4JC2heb226O0kP1QFeK2atJkxepRFsqfOltg5bfZ4h952PweS ijjixhD/Ii2nhxEeVrpd4xrsUk5+ANyMLzDA00MumWEvt74ysc0DLFV6GbxGLr/NRhWi 3qWD53u5cSP1HeNtr5j+prLhUMVSsOevIR5qPxFP+ZowmQOwJquRrBxEuGNHqWiuj9Uo uLttA9Fn60fgjC8VBiWqULrRi4NiahMrMLYU5S6l7o4O2eSjZjeAK8pPQGBNvub9h4VH sFQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Gm35+dAUKxJSsV7Va8vSnfvMwVNW19/CTo4IIgw4uQo=; b=jDb04xQFZlayQr44y4vmHzFiA3kighl4q+hSAiMbccp7BiEM5bbAMfaXBnL0xc7qTh GULhcxa8S4sDCue+OLwUM/9bUS+0Iuhu+M8wo0mAsSYcgdNTm6UgDDp9n5EW088r63LI sLet7r6xKu7d2Ffxg41tpVWcBW6ttPImmlhgjtoP2zIECRikdZb6ioUzKu6vhB85QUsp shreMTjIuxfDY9LS4Qv/5lwyqgqZpJhGB/5xmpXHZOFQ51r/fXHFHDVSEylvk+AA6Q2H Ue58vv9ENUCJneJKxU0EKxHerBYrhTU+gVs8fG6IdEe7mK02i/5GhEjQVLc13n9NulKt LD/g== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9-v6si15497015pff.30.2018.07.09.17.48.52; Mon, 09 Jul 2018 17:49:06 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754696AbeGJArc (ORCPT + 99 others); Mon, 9 Jul 2018 20:47:32 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:36197 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933132AbeGJAqW (ORCPT ); Mon, 9 Jul 2018 20:46:22 -0400 Received: by mail-qk0-f196.google.com with SMTP id a132-v6so10714348qkg.3 for ; Mon, 09 Jul 2018 17:46:21 -0700 (PDT) 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=Gm35+dAUKxJSsV7Va8vSnfvMwVNW19/CTo4IIgw4uQo=; b=Ng8YWXJ097QSB1BH9US/vQ6MHjbW7S2EH5uYgQGHUhMRMLjhNKZkjuof5JUjebotWk Oe9ohzBy0+rg42uL5Ow9co4U0R32QzuLnqz9EbJDQy1YI9DKlETFwVVJomsBqd8xWmi1 ArAmirJteO7NtJe3tDzZS6jjUovjALhT4Db/vT3pVLcL7rbpsfrMt+baJ3Tq789B8HCc KsUdnXaRkqjmCUmf2cx9FqCFk81EUBhlj+JH54W49LnvFRYPCjAiL1YVvg4LqX8xjxGI ewE2MqBeWEOQm7nsE2JKsAGWwrPtf4/ApAB5aMdUlE6djg24IsD7rvnlaZGGYyXJ/AHd GA0A== X-Gm-Message-State: APt69E1EEhnAe4AA7KKIA+VKr9CKK9IHIfX7ZGNfwSI3FuNTuu9xqT4J h8InMb9blZ8xipRYF72ict0D6g== X-Received: by 2002:a37:e103:: with SMTP id c3-v6mr19377857qkm.33.1531183581360; Mon, 09 Jul 2018 17:46:21 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::1941]) by smtp.gmail.com with ESMTPSA id l36-v6sm1816792qtk.12.2018.07.09.17.46.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 17:46:20 -0700 (PDT) From: Laura Abbott To: Masahiro Yamada , Josh Poimboeuf , Jiri Olsa Cc: Laura Abbott , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Robin Jarry Subject: [PATCHv2 4/7] treewide: Rename HOSTCXXFLAGS to KBUILD_HOSTCXXFLAGS Date: Mon, 9 Jul 2018 17:45:59 -0700 Message-Id: <20180710004602.21599-5-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180710004602.21599-1-labbott@redhat.com> References: <20180710004602.21599-1-labbott@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation for enabling command line CXXFLAGS, re-name HOSTCXXFLAGS to KBUILD_HOSTCXXFLAGS as the internal use only flags. This should not have any visible effects. Signed-off-by: Laura Abbott --- v2: Dropped name change for individual files (still HOSTCXXFLAGS_foo) --- Makefile | 4 ++-- scripts/Makefile.host | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1feec222f3c1..857ccd28dc36 100644 --- a/Makefile +++ b/Makefile @@ -361,7 +361,7 @@ HOSTCC = gcc HOSTCXX = g++ KBUILD_HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 \ -fomit-frame-pointer -std=gnu89 $(HOST_LFS_CFLAGS) -HOSTCXXFLAGS := -O2 $(HOST_LFS_CFLAGS) +KBUILD_HOSTCXXFLAGS := -O2 $(HOST_LFS_CFLAGS) HOSTLDFLAGS := $(HOST_LFS_LDFLAGS) HOST_LOADLIBES := $(HOST_LFS_LIBS) @@ -432,7 +432,7 @@ GCC_PLUGINS_CFLAGS := export ARCH SRCARCH CONFIG_SHELL HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC export CPP AR NM STRIP OBJCOPY OBJDUMP HOSTLDFLAGS HOST_LOADLIBES export MAKE LEX YACC AWK GENKSYMS INSTALLKERNEL PERL PYTHON PYTHON2 PYTHON3 UTS_MACHINE -export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS +export HOSTCXX KBUILD_HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE diff --git a/scripts/Makefile.host b/scripts/Makefile.host index 09f00dae21fe..455d85aa1d37 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host @@ -64,7 +64,7 @@ host-cxxshobjs := $(addprefix $(obj)/,$(host-cxxshobjs)) _hostc_flags = $(KBUILD_HOSTCFLAGS) $(HOST_EXTRACFLAGS) \ $(HOSTCFLAGS_$(basetarget).o) -_hostcxx_flags = $(HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \ +_hostcxx_flags = $(KBUILD_HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \ $(HOSTCXXFLAGS_$(basetarget).o) ifeq ($(KBUILD_SRC),) -- 2.17.1