Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1188672imm; Sat, 7 Jul 2018 19:33:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf58OKgaSxFOzq4GoHEEV5yu9+9Npy3s5o6SEYNV36Dx8DJVgfFnjXGjp82zJWcEE6cDO3o X-Received: by 2002:a65:4545:: with SMTP id x5-v6mr14215550pgr.4.1531017192378; Sat, 07 Jul 2018 19:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531017192; cv=none; d=google.com; s=arc-20160816; b=WFjKkEgN+9igz6XPTt6Z8wJwzsg0A7+XhKjaEMP04A0X78Edu6xJxqhcRmQhX761qu 5z43Vg84I+xkc+mT0qZluEQOAg9IGmfwyL6UpQAzfc8VcGbLdcYUhS2dwIJHCcYh9WWn +Sb5E/zaqteeHWh13SheAXr7Z4O730d3cvCCJV9ImHLnTKEBTLh1ULrog+iB8mT5bF4+ ZFi0XZ/zPEwzXW8mPLg9ZgYuizfc3wwpCQ3++UPFEd/Ju+H0EQcg0haynqKbCprNkkaF choTFGP870pHFpTAGI9+x633/SniK2DDsYXx1+dI5Pm8VWvMHRFH8tMpHbLyq5QdPeLx 3GAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=LQqTCNPN1RighRE77vfhdqO5Zew9J/XsZgyTylrE+cY=; b=nkKVoYKtQPyvpJo4L48Ulq+yIwXB7MZaKLjNygSdm9N+iWZl116iAWqffS+wOfPDXt HBqRQVMrk6LIZQjOd1yaDftDfqzOTrDuVoe1wZpHwBszgNmDguy8jIQhkPddHornIjl5 byB/veSoxHGuNywLif7STW3Ujs0czGhTi+xp1SS0tHoBwp6xdUbpVHfqCept5ae216Vh sbuvpYe+2DCGelNQhwfXPyANWdOxu1HMAOEQeRE3cWZlQFBj9WuQs+kXetlCIHp/ZDZv t4vTapVRdVVeV8t3t6y8bXGT+iuQGzX/iPbLv37wJy8ASivhv/2lc99x/1/bvH9m/jr7 Knaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=fDEDxbJQ; 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 w9-v6si1299811pfg.234.2018.07.07.19.32.45; Sat, 07 Jul 2018 19:33:12 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=fDEDxbJQ; 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 S1754505AbeGHCbi (ORCPT + 99 others); Sat, 7 Jul 2018 22:31:38 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:19282 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754461AbeGHCbg (ORCPT ); Sat, 7 Jul 2018 22:31:36 -0400 Received: from mail-ua0-f182.google.com (mail-ua0-f182.google.com [209.85.217.182]) (authenticated) by conssluserg-04.nifty.com with ESMTP id w682VQ8x027009; Sun, 8 Jul 2018 11:31:27 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w682VQ8x027009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531017087; bh=LQqTCNPN1RighRE77vfhdqO5Zew9J/XsZgyTylrE+cY=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=fDEDxbJQQNsqiK59CBsvYC1qf80LEmQVgMvVr6qvL+D+Zuyj5nMqxDgwPRfOeCyUL MoziCUjGrwBlU8Z+X8Pn4eWAEwLw6idFHhr7qhA1YkGo8BBzD/Q9uvDmGN/2Bd2PCo ObIr6gORu5nxQJM1YKumklUN2FFE9q140XYWzSOqLWpMRk/WhHB4cBALYfUs7P6WkZ 7S4iYemGNf6nsU9d1EqSiuugpLBWqiwS+9C4o48PrTJoOlfBAMdR7vFJvh3IbssBKb Gzag/MIpH/a9YP+tpziA/Yup8WZtGwxI7WTlieEcqqtPcCtc9fvt99JDJQ5AuI6UaN jeABeYRxUCsvw== X-Nifty-SrcIP: [209.85.217.182] Received: by mail-ua0-f182.google.com with SMTP id x24-v6so9780557ual.10; Sat, 07 Jul 2018 19:31:27 -0700 (PDT) X-Gm-Message-State: APt69E0LIizCDYS2onq5hXB8QMl++NlAiGYQJi+V9HOYA8FUoK6ezi+U w31wkBwIq7LoxCSYNJSNUGCz1NR3E3AYN2Tw78Q= X-Received: by 2002:ab0:13c8:: with SMTP id n8-v6mr9800362uae.140.1531017086379; Sat, 07 Jul 2018 19:31:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:3308:0:0:0:0:0 with HTTP; Sat, 7 Jul 2018 19:30:45 -0700 (PDT) In-Reply-To: <20180707010709.16648-5-labbott@redhat.com> References: <20180707010709.16648-1-labbott@redhat.com> <20180707010709.16648-5-labbott@redhat.com> From: Masahiro Yamada Date: Sun, 8 Jul 2018 11:30:45 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/7] treewide: Rename HOSTCXXFLAGS to KBUILD_HOSTCXXFLAGS To: Laura Abbott Cc: Josh Poimboeuf , Jiri Olsa , Linux Kbuild mailing list , Linux Kernel Mailing List , Robin Jarry Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-07-07 10:07 GMT+09:00 Laura Abbott : > > 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 > --- > Makefile | 4 ++-- > scripts/Makefile.host | 4 ++-- > scripts/kconfig/Makefile | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/Makefile b/Makefile > index 16cab22b1f40..9c3f1864d678 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 7a4c90f2b0ce..1c153cc5b530 100644 > --- a/scripts/Makefile.host > +++ b/scripts/Makefile.host > @@ -64,8 +64,8 @@ host-cxxshobjs := $(addprefix $(obj)/,$(host-cxxshobjs)) > > _hostc_flags = $(KBUILD_HOSTCFLAGS) $(HOST_EXTRACFLAGS) \ > $(KBUILD_HOSTCFLAGS_$(basetarget).o) > -_hostcxx_flags = $(HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \ > - $(HOSTCXXFLAGS_$(basetarget).o) > +_hostcxx_flags = $(KBUILD_HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \ > + $(KBUILD_HOSTCXXFLAGS_$(basetarget).o) > > ifeq ($(KBUILD_SRC),) > __hostc_flags = $(_hostc_flags) > diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile > index f98a22618e1f..37605d92c597 100644 > --- a/scripts/kconfig/Makefile > +++ b/scripts/kconfig/Makefile > @@ -192,7 +192,7 @@ qconf-cxxobjs := qconf.o > qconf-objs := zconf.tab.o > > HOSTLOADLIBES_qconf = $(shell . $(obj)/.qconf-cfg && echo $$libs) > -HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/.qconf-cfg && echo $$cflags) > +KBUILD_HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/.qconf-cfg && echo $$cflags) Please keep HOSTCXXFLAGS_.o as-is. -- Best Regards Masahiro Yamada