Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1083842pxk; Fri, 25 Sep 2020 05:58:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIKzqwsPSJlUIQD1L+tmXDFdeqYdtDWkY9cHWGI1qIquScpwWT+nF2dyq9T3LUA48nMbW5 X-Received: by 2002:aa7:ce19:: with SMTP id d25mr1141855edv.189.1601038686204; Fri, 25 Sep 2020 05:58:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601038686; cv=none; d=google.com; s=arc-20160816; b=0GA74pL4Q0aM2zAEUN861xkLu7lJL56slzuYV8777++uwieYbJnSsMDWt31JKNZS2V b5djCeMFPXZpnQL8XMatXiPlxT1APCh+zeA5PIYug9HS+JgbKxoVagau1j5o6OczIpXw SXHOxYKH9ig5QD870Q2s81+6xWI14I9wIMUX4uGZd6i7Ppxy3bkgPDkf54Gghc+OdUJV AAzlLa/mjpTzgl2CyMQDoR2N+pjEjJ9a4ssdFpmiREPV/DRa4oaNAk9tcrMTfjsUsdzk WSfESwHdbnbnpG4PV+I56gr9D4NXU8ybNFKkRbJAxcwQTpayLSuHdtcDLNNxg5ki19c2 33ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=W/Izsv/nNL/nwNkiyE0Yx4QDKJut0PciK1dcCsXmcbw=; b=0yt6whp2oG+kAVsSwbIsK2MnH2qgpVu5ztrLtSJYX3DmwKwD71kGkS+gx7e3Bgyuuv R1zhuP9vl8rreOCyG4SHWqkqMjTjU9d9pqjV2j72M5YJk+dJSYRL4A9qY/DXhqkV92P/ wD8hAf7TOdE9fwZEC+svkSohKeKW8R0S55ugGh+h4MhQ3kVrRYTKGCJ4n75Sy3rdIpDg LdkiEWr92VS+E7WVZlMPCxqOiUyxQvHcYX9N3NG7/27AaPSxJWUj4mrWR984N9cgJ2Ev n3kDpHjQg6dOhUZiBoZVYY2kI+AFvucnaz0MFi//27VDngRwzAo0opA+PAbhe0ZgUamy 3Lwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jatavxo7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si1731578eju.477.2020.09.25.05.57.43; Fri, 25 Sep 2020 05:58:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jatavxo7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729076AbgIYMzl (ORCPT + 99 others); Fri, 25 Sep 2020 08:55:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:33354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728682AbgIYMyf (ORCPT ); Fri, 25 Sep 2020 08:54:35 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A859323772; Fri, 25 Sep 2020 12:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601038475; bh=Ua12HAC0G3K3DF5VRKjBX2AmLRkWDG4luNFYeyvKayA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jatavxo7NpdtSbhbfPMkFWxz7rYIBw+8cuH4VnQE7f3Q5hg/CYrBeiYrz/sIlbr0T Oj+RcVPQ0soVu3QSuD81ZsPL2oDGWZ+bIFQtZ3eAoOSqwRoTyAYdmBUM6+nNoMVnHM lX5G+F719jHQwT5Ne3n4bzlc6jb2cMVX/lKoIHO8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Masahiro Yamada , Nick Desaulniers , Nathan Chancellor Subject: [PATCH 4.19 31/37] kbuild: remove AS variable Date: Fri, 25 Sep 2020 14:48:59 +0200 Message-Id: <20200925124725.652150808@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200925124720.972208530@linuxfoundation.org> References: <20200925124720.972208530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Masahiro Yamada commit aa824e0c962b532d5073cbb41b2efcd6f5e72bae upstream. As commit 5ef872636ca7 ("kbuild: get rid of misleading $(AS) from documents") noted, we rarely use $(AS) directly in the kernel build. Now that the only/last user of $(AS) in drivers/net/wan/Makefile was converted to $(CC), $(AS) is no longer used in the build process. You can still pass in AS=clang, which is just a switch to turn on the LLVM integrated assembler. Signed-off-by: Masahiro Yamada Reviewed-by: Nick Desaulniers Tested-by: Nick Desaulniers Reviewed-by: Nathan Chancellor Signed-off-by: Nick Desaulniers [nd: conflict in exported vars list from not backporting commit e83b9f55448a ("kbuild: add ability to generate BTF type info for vmlinux")] Signed-off-by: Greg Kroah-Hartman --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/Makefile +++ b/Makefile @@ -368,7 +368,6 @@ KBUILD_HOSTLDFLAGS := $(HOST_LFS_LDFLAG KBUILD_HOSTLDLIBS := $(HOST_LFS_LIBS) $(HOSTLDLIBS) # Make variables (CC, etc...) -AS = $(CROSS_COMPILE)as LD = $(CROSS_COMPILE)ld CC = $(CROSS_COMPILE)gcc CPP = $(CC) -E @@ -434,7 +433,7 @@ KBUILD_LDFLAGS := GCC_PLUGINS_CFLAGS := CLANG_FLAGS := -export ARCH SRCARCH CONFIG_SHELL HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC +export ARCH SRCARCH CONFIG_SHELL HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS export MAKE LEX YACC AWK GENKSYMS INSTALLKERNEL PERL PYTHON PYTHON2 PYTHON3 UTS_MACHINE export HOSTCXX KBUILD_HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS