Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp221174imm; Fri, 6 Jul 2018 18:08:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc52YHJUdwEqM6W9NaWkYoSJDkOcdV//FSIKWo40SsQEZQM+H9opZK0IaAZwnt6RAG1PHAx X-Received: by 2002:a63:8f53:: with SMTP id r19-v6mr10899009pgn.17.1530925718748; Fri, 06 Jul 2018 18:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530925718; cv=none; d=google.com; s=arc-20160816; b=evwUjjuQUAOEUnry2Z5aPvID6ZgXxMjWpisLhoKxdZjYVfUvxdV2uMPcDfymJjCdxY X8kEo+DhGohEbGwVr38H8y4fDgbzfA3L1jCS+X+ALwsuXOacZ16/y+UEi1HkY/Osfu1S GARQ7up20BNwonkLwN29emmgkaM7xaTUY4FXHYA9mXksdFNoqS9wLe16/ujzMceC0bTU 4AzBV+RvVdFIPu5iQ7AHl9mtjbAPJSF67fA0gCRybIw6zwJ3b+QwmlWmqqAVHxDaNSbk 4BjNGXVDuj6QLN3UO7KFuLLR5CeikwvOE5rvJKF6CF8eyP3v2XyyVimJZ77CJZjj2E7w iSHA== 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=f9d344neXZWN4aoiynTLIMpXG5XG0b/evkeNLNEn5NE=; b=XqG2IFr5N/w2bheN9BLBWkU0XO5AdAh8yF/pZUHuTtfKxwA+D4e2LxARo8kM1KLgrp RGVdT/pmI/7d0eBOtSi6bPz7vmtx7QItNyDlGUgcIYcjouwi+EGdp6YNxgd/yv7xMQAS GkJa1n360wJOzKF8S6tM74h1ZqBE/eh+VhkTUFu2KyauDj8LqG6fHDjFy0XAwF5/ksIp DnCYVJj2mtW70+MQUxx0hHFvQvYLfR3lLWNI7vfTIW5qbMheO2AtcGYMoM1Lx0vloD6a wJ7y0pnOqeRCkoioDdzCUUkm/g6rirV8vToiSF3Kc8U+jZgA+UFYFA6tRbV6S+2vyTzG WDcA== 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 j3-v6si9412278pgs.329.2018.07.06.18.08.23; Fri, 06 Jul 2018 18:08:38 -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 S932835AbeGGBHh (ORCPT + 99 others); Fri, 6 Jul 2018 21:07:37 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:43574 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932725AbeGGBHe (ORCPT ); Fri, 6 Jul 2018 21:07:34 -0400 Received: by mail-qt0-f196.google.com with SMTP id f18-v6so11396432qtp.10 for ; Fri, 06 Jul 2018 18:07:33 -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=f9d344neXZWN4aoiynTLIMpXG5XG0b/evkeNLNEn5NE=; b=bnt2R05rqodHqCapsp4jv6CvR3eUvt9hre62FMHZ8F3tOb1EXowkH2zNYNk2BxHhle qC+tmDfTC7vxvuKcauuqGS4QnLByu8gQ/W/c3s9KYcaQBj0aj1eVDvhLxNBiO8lA5t9d PMEXhX+dJKwz108+NO7Ny4h9RUIkztgc0OskiJEJIU30aaGstld4bzGvzaTme0nnclWt WRwQzrpO2qFAQh8s773XGQxQcs1NehhAUpLZFg66CB2VCzikyRkIY08MfwBOJim5/lPU Illa8hU6a13J56eq/vZEcNDjnA1Jbkd+BjO1TMt3whaeLwoLWdTtu5fFjijaOeschfDh /nsQ== X-Gm-Message-State: APt69E1MpzznsUaI+HMy3Vk9jUzUF1ntiFdt5LvtxrhGIAJYlEnoIDir MUzKFDQqvh2E0OJQw/lGp9FpNQ== X-Received: by 2002:ac8:25ac:: with SMTP id e41-v6mr9428201qte.66.1530925653474; Fri, 06 Jul 2018 18:07:33 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::f0c1]) by smtp.gmail.com with ESMTPSA id b3-v6sm3359698qtg.20.2018.07.06.18.07.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jul 2018 18:07:32 -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: [PATCH 4/7] treewide: Rename HOSTCXXFLAGS to KBUILD_HOSTCXXFLAGS Date: Fri, 6 Jul 2018 18:07:06 -0700 Message-Id: <20180707010709.16648-5-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180707010709.16648-1-labbott@redhat.com> References: <20180707010709.16648-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 --- 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) $(obj)/qconf.o: $(obj)/.qconf-cfg $(obj)/qconf.moc -- 2.17.1