Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp221176imm; Fri, 6 Jul 2018 18:08:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeN/0QkUN8skAW0h8UkRSWdWhcEo6WHuAhImTG7u54nQs2GHvgETHMIqIUApwK3N7g4xBkX X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr12177256plb.208.1530925718843; 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=UXWKZ0A2ZdA0qcYlvQhgogN+Zkz+byU57SNwdsBD5AoGa9d5zVn65EpXaDnkrZoFIc DUI5xjY2lH6vgftIm5hwYMS4Kla3dwBCYwhnBzD7J3L2aJdxWVOHpt6/rWMO22gFVmrt 58+HNtJ6J81ySrZHzEpwEYZFosyauKp419dcRUl49YG2R2kMyDuywUTsRuw0hYA6/JrZ x9N9x84JKmubuAAyKE3uozFY2EAECQMhNu72ucXlU1GmpZak6hTBwehdit1T/obHVn/R Dr7DIeoIOk5yy964rjDW4rAkYn+CjtS1Pn/YdCn7NR5rMy99szX4R/G6BRqlOSlFCqi2 08Fw== 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=JQCQFdHkWrtzdKOqm08g04PbP6dAJqUU1btZr0uBYiQ=; b=wEQEuKam8h/KyF7v0vzP6kITQ89hi0vvCftjKp4cKrtfgTWwBwydOWamNylYdKTdbc kC6Cy0Obhd6T4J+8+fIVdHFYH+xbJR1dkZHgzzEqqeVISkzE6UYflNSjbD5ux9wvMWA/ y0ajc3PfnczUXbHeMxlMkb5i204QWAUlg8uQdAj68xGa2RUJnVm+QNqO0DVaVmROwm3m ktdQF0yx1uHZ1lZxaHtJbdgIkcGiITb9EcdNdGCuYIoM6IthMLHMYPvWo8Q3g/4tAKO5 idUb6zGTjSJ11ejKi9UHDQPL2VNysFIgOs9CBXTITNQ9xLiyUYOOB2qQj9/uUo5TkE6S vysw== 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 c2-v6si8220576pge.124.2018.07.06.18.08.24; 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 S933007AbeGGBHo (ORCPT + 99 others); Fri, 6 Jul 2018 21:07:44 -0400 Received: from mail-qk0-f180.google.com ([209.85.220.180]:38014 "EHLO mail-qk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932879AbeGGBHk (ORCPT ); Fri, 6 Jul 2018 21:07:40 -0400 Received: by mail-qk0-f180.google.com with SMTP id y4-v6so7215671qka.5 for ; Fri, 06 Jul 2018 18:07:40 -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=JQCQFdHkWrtzdKOqm08g04PbP6dAJqUU1btZr0uBYiQ=; b=uTPPBwAtMj6MXpbRRQ/vEJPTe3ZoRt5Q89DYoFYdnWBhuRXABmlGj5r7PYzWJif4qN mutIIS+qY59arQqPMeuXRaMZfYQ4PSkDbl3vHR+sp8KAhc1FPhqc/NkqqHxdEf1x/R11 /trcQbdhu+eHJy8wc6Rj9RK3WlpT5/7nezHbojGGklZCWIpbSwX4dNPtxucPwzhykQUD lWrrppVvSuaXEk3IDhs2XBSFXXLeBoflKxYWQMbY1zWLQg3kT8ODmQW3UKdziSfMEngw A35r5sPfYTctu6Y46mSi5cIGqwwcu6VE9yArSaPkM1tP/hXY8PVvBJVNPAFCZSl/+hnO eaMQ== X-Gm-Message-State: APt69E0giytnm3uY6qhLXDR7Jx3e2o44eQD5UlINY87Akq3KfuZuYiP2 E12ybRlkNdCyvskdqAQC7iF1ig== X-Received: by 2002:a37:d942:: with SMTP id u63-v6mr11243079qki.165.1530925660262; Fri, 06 Jul 2018 18:07:40 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jul 2018 18:07:39 -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 7/7] Kbuild: Use HOST*FLAGS options from the command line Date: Fri, 6 Jul 2018 18:07:09 -0700 Message-Id: <20180707010709.16648-8-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 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) # Make variables (CC, etc...) AS = $(CROSS_COMPILE)as -- 2.17.1