From patchwork Tue Jul 10 00:45:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10516011 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B1778604D4 for ; Tue, 10 Jul 2018 00:47:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A295228CC3 for ; Tue, 10 Jul 2018 00:47:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 96B2428CDE; Tue, 10 Jul 2018 00:47:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3875228CC3 for ; Tue, 10 Jul 2018 00:47:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754685AbeGJArb (ORCPT ); Mon, 9 Jul 2018 20:47:31 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:34611 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933380AbeGJAqW (ORCPT ); Mon, 9 Jul 2018 20:46:22 -0400 Received: by mail-qk0-f195.google.com with SMTP id b66-v6so10722918qkj.1 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=p3GvuyoycNaq0qzZhfEdq41kvENqAiCGeVd0iWA2waZZrADGiUR1L4nn1hcQzKFSho cXanXTiu3yc6Dnhr47rL1oPhWMEYPyrC3AspeyfVIdkCw6Fm7iS/KdvvsTl+XFtkTEjI llloGIdaXaZJQ60kMl495ZuDXI0WtfoE2irtI9C9RiZ/bo7yaWSVtGZ73iaahjqpKpb7 iaIQbmiKeCavV+v547JRKTR8ixo86cHJnHaCJk83twCZP7/R48eNdscywQFXybqnzsl0 IydJ9rsRTxT2xOAGGuEUWh0n/AiF7GhNUHVtGpJsL7EkP9VINUnguYXHQyZDPd/FaAvd ELHA== X-Gm-Message-State: APt69E3y3vfkJcsleWiLW0d1DLYa92MK8/Nmit1pzqL+37RUZqCBF3BF ZEQYqZ02Qm1ahPftR0BHuIuBCQ== X-Google-Smtp-Source: AAOMgpdHe+NSbCT7X2MsCVyQgxwbCQrxZroyi0WaIDod4UVj4b/Id1Vi8PIPaInbScgG+Emjyuhxiw== 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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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),)