Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1189573imm; Sat, 7 Jul 2018 19:34:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfsDBHHbwK2QI3iYobqbZ/t4H4p8WUahTGjeNiosRUrjuOJmUlSuQAau+eo76qsoWTvvF4e X-Received: by 2002:a63:1063:: with SMTP id 35-v6mr13242002pgq.249.1531017285667; Sat, 07 Jul 2018 19:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531017285; cv=none; d=google.com; s=arc-20160816; b=rwgOOAzhvjb1t+61iprTBVFsWWucqIDgPZvKkFgJc7inJ2U0dAqNiQJsJKbkj8QIMt 20nL6p9ottV+xlE+asI3VQIht6KGzuZ+ZMBLQKMDBEQ05kgbixT2oJAJLTnxe5w1DWso 7gSBr8vg1ZutO9XzQwrkEJhKMH5Mkktf3/VsTaW2mZwrHLZh0zoi/U/YqOJo8rVdp2Do sf9DQXKuVqPxss4LutpLZocVsLy+gXrnL17JlatqLvByQPs/Cgyr49pAmF3uxcyVoYtU G7/vkcDzstFuqazH6eR5zZUPzHk79lx6Z8ZiPfRtAheUN7KM4ymbtk72wWfJL7u/ZsQT Y3Cg== 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=lAOfl8UtCkFdSQTVtY85zD9So3UHlU8AHXAMFeeA4Vc=; b=nYOGqfHaFcDmXUHqkzDM6BkDVF55xijiAFzxxpZhFxK4lgibNcSZwZejpdIOC489+7 Mcf8kp0OrVh7f7B34sndOwNyjOCYXyiPvUmyyMCunoUgOYYWsODzjBlQwg4xeRtEGqsj qUmyePhNIELQtSKT/qqe09HjeKqk+h8lZM/mV3rLCUCCkySKJZiK7kd7Kfo8a0+Lejnv nGDbl19VKBOx2M2lsCQ17TL/SdFjxZ0WKTlI1RIFzhwaHGfZP1e5qnxdgmrKU0JgETDe qaZwJjelrUtYay2ZKBI9KamQKZojWRNIGdH3FpX0N2Sa6RKIALhEcib+YEcM0V5kGs31 P/LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uYxl9csg; 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 t127-v6si11300544pfb.303.2018.07.07.19.34.31; Sat, 07 Jul 2018 19:34:45 -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=uYxl9csg; 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 S932842AbeGHCcm (ORCPT + 99 others); Sat, 7 Jul 2018 22:32:42 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:23258 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932732AbeGHCcl (ORCPT ); Sat, 7 Jul 2018 22:32:41 -0400 Received: from mail-vk0-f49.google.com (mail-vk0-f49.google.com [209.85.213.49]) (authenticated) by conssluserg-03.nifty.com with ESMTP id w682WJHK001705; Sun, 8 Jul 2018 11:32:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com w682WJHK001705 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531017139; bh=lAOfl8UtCkFdSQTVtY85zD9So3UHlU8AHXAMFeeA4Vc=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=uYxl9csgPPkTTF6fjV4bprWkZvKYBsCHuEp5Cue7NbkVINkcbBpMD/KzG4S76jY70 SpO+Y3FRcT9NjL05gELJNg7umciQ85roxdFgUy6vVCxGQo2aaU6/N6ztzMa6OeSRMq H7yFK4cxMo2UVXGbyZ1OzTJbf8ApE4SPIYTptB8rcRkCyuEgjOLy2mm5anrdRZ2FpK RdDtriULGt3Sa5oxRNAoFiidXOsxw9lKOVZYe1hVL5HIrbfgFgjsFXZUoaGYdCn7DJ fZCNfP3Qme9tzEFFx3x8ebKD3o9XSr7/OU7Quej2VE45WGyO0dNHgyc4nom8BhVaCC jlS9Bhk0JeqIA== X-Nifty-SrcIP: [209.85.213.49] Received: by mail-vk0-f49.google.com with SMTP id l143-v6so1422030vke.1; Sat, 07 Jul 2018 19:32:19 -0700 (PDT) X-Gm-Message-State: APt69E07sRjU3E9O4cfuMp5gSYq9qEwGqF8XbgmSaR9e0x51XpZEYatC JorCS1JpJaYnEFIfIFabLhxx3dw9SyXzeIv+B0w= X-Received: by 2002:a1f:d982:: with SMTP id q124-v6mr9000374vkg.166.1531017138421; Sat, 07 Jul 2018 19:32:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:3308:0:0:0:0:0 with HTTP; Sat, 7 Jul 2018 19:31:37 -0700 (PDT) In-Reply-To: <20180707010709.16648-8-labbott@redhat.com> References: <20180707010709.16648-1-labbott@redhat.com> <20180707010709.16648-8-labbott@redhat.com> From: Masahiro Yamada Date: Sun, 8 Jul 2018 11:31:37 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 7/7] Kbuild: Use HOST*FLAGS options from the command line 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 : > Now that we have the rename in place, reuse the HOST*FLAGS options as > something that can be set from the command line and included with the > rest of the flags. > > Signed-off-by: Laura Abbott > --- > Makefile | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/Makefile b/Makefile > index d925af1fb11b..77c74b3cf30b 100644 > --- a/Makefile > +++ b/Makefile > @@ -360,10 +360,11 @@ HOST_LFS_LIBS := $(shell getconf LFS_LIBS) > HOSTCC = gcc > HOSTCXX = g++ > KBUILD_HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 \ > - -fomit-frame-pointer -std=gnu89 $(HOST_LFS_CFLAGS) > -KBUILD_HOSTCXXFLAGS := -O2 $(HOST_LFS_CFLAGS) > -KBUILD_HOSTLDFLAGS := $(HOST_LFS_LDFLAGS) > -KBUILD_HOSTLDLIBS := $(HOST_LFS_LIBS) > + -fomit-frame-pointer -std=gnu89 $(HOST_LFS_CFLAGS) \ > + $(HOSTCFLAGS) > +KBUILD_HOSTCXXFLAGS := -O2 $(HOST_LFS_CFLAGS) $(HOSTCXXFLAGS) > +KBUILD_HOSTLDFLAGS := $(HOST_LFS_LDFLAGS) $(HOSTLDFLAGS) > +KBUILD_HOSTLDLIBS := $(HOST_LFS_LIBS) $(HOST_LOADLIBES) Please use HOSTLDLIBS instead of HOST_LOADLIBES. All of these must be documented in Documentation/kbuild/kbuild.txt -- Best Regards Masahiro Yamada