Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3235951rdb; Wed, 27 Dec 2023 00:11:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGy+jqD9UMBoD2I1XCN4tuS6DYUK7m+YB96x8fqE1vmq/bjtKhCbsgchIV6tXRd2+Tj/Odb X-Received: by 2002:a17:903:2595:b0:1d3:e2a6:8708 with SMTP id jb21-20020a170903259500b001d3e2a68708mr7766566plb.119.1703664677557; Wed, 27 Dec 2023 00:11:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703664677; cv=none; d=google.com; s=arc-20160816; b=WwHPog3ZNoXP9AD2WqnnVV1bzyUnPoy+vLSSTo9tqOEWD49cWUkuCEjN9KdWtT98MC 4kvIcTawqVCCkbV7W+r6B7CV5aHN8ZHoKj9++kFiwqIjcB2L75Ouvwhu59F1o7MkBIqv ygKHYv6X4mTXI+1FWlfEnmwIQWRKxlDcfvzhQS8kPXWQ3j3WGN05ciz2CQb2yQsKdsiX UmZ81YIdOJqFT2LcZQbsF3Xtwv40e4LrLIcJW8iMZquPA9aMYSkt6WOSdUFItCGS2JHi opetwNn/Azb6eqdSiKB6cNM7+p7eoILW085JV+NZPfTQIhPujN4xh0lZBh2RH7vSvwUu ll6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=Km7wcAVSM+cTLEq1KQdJ4Ecm5w7THa2HJxl0L7GB4Tk=; fh=f3MDfshgIQeFn8t+tftuV9AOkBCG9PnQmaFs5Sw2L+Y=; b=NIUsRSjfrXRIEetJqIKoW6xqRtwJq1IPQWFsOPYH38UlJY8QxxQ5ClAp9PdZtDFGaf PLWtdPHdDqixUOCeXBbT6svfvb07oIXo6DbVmYQQIcyBm7Hc7os3f/0CWUOr63DVKPm+ vMl2moVHJ3WZD+dTyfWaGQfFC80f4GrSx34dQstIgpmR85k2mP86eDaZaKS0EQBREiqn QfSvSoObKM6F3eJ0QwGy3Tx3NnbyJS1almVU1JKA7Se3r03wF0Juvkui+EgpER1EG9mb jTFDxL2aHkmm8jOxEqYnrSJPmrilANAN0padX1f/9HnRfxt2J8ZJBZ3N9NWIGAUfkquT NlLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b=PTN68ztl; spf=pass (google.com: domain of linux-kernel+bounces-11899-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11899-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f4-20020a170902ce8400b001d4752f5411si1966759plg.483.2023.12.27.00.11.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 00:11:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11899-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b=PTN68ztl; spf=pass (google.com: domain of linux-kernel+bounces-11899-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11899-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 34433283428 for ; Wed, 27 Dec 2023 08:11:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB42E6AA8; Wed, 27 Dec 2023 08:11:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=avm.de header.i=@avm.de header.b="PTN68ztl" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.avm.de (mail.avm.de [212.42.244.120]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 928A96AA3; Wed, 27 Dec 2023 08:11:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=avm.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=avm.de Received: from mail-auth.avm.de (dovecot-mx-01.avm.de [212.42.244.71]) by mail.avm.de (Postfix) with ESMTPS; Wed, 27 Dec 2023 09:10:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avm.de; s=mail; t=1703664660; bh=yHjNm4KxLqqPxAzMCgpry3p1RA9R/QeX87BJUF71wg4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PTN68ztlu3/9knQ9BYxah58qDi+C5RVUaLfRxflPDEBQWxr20U4jK93BgcTKu+s2J 38f/+8/DTn98+GZ+AA24MnARG0jU9HDZXKtmaVB10SRXMV6/ZXxtsi2xJ6PL4Uo6qW gs3i/jwlRYJi0nNmL+nwuWxlvBADFFaAGCV24mzw= Received: from buildd.core.avm.de (buildd-sv-01.avm.de [172.16.0.225]) by mail-auth.avm.de (Postfix) with ESMTPA id 86EC88001F; Wed, 27 Dec 2023 09:11:05 +0100 (CET) Received: by buildd.core.avm.de (Postfix, from userid 1000) id 81D8D181988; Wed, 27 Dec 2023 09:11:05 +0100 (CET) Date: Wed, 27 Dec 2023 09:11:05 +0100 From: Nicolas Schier To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Ben Hutchings , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/6] kbuild: deb-pkg: remove unneeded '-f $srctree/Makefile' in debian/rules Message-ID: Mail-Followup-To: Masahiro Yamada , linux-kbuild@vger.kernel.org, Ben Hutchings , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org References: <20231226135243.1393780-1-masahiroy@kernel.org> <20231226135243.1393780-5-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231226135243.1393780-5-masahiroy@kernel.org> Organization: AVM GmbH X-purgate-ID: 149429::1703664660-FD32DDFE-0F3E500A/0/0 X-purgate-type: clean X-purgate-size: 1866 X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean On Tue, Dec 26, 2023 at 10:52:42PM +0900, Masahiro Yamada wrote: > This is unneeded because the Makefile in the output directory wraps > the top-level Makefile in the srctree. > > Just run $(MAKE) irrespective of the build location. > > Signed-off-by: Masahiro Yamada > --- Reviewed-by: Nicolas Schier > > scripts/package/debian/rules | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/scripts/package/debian/rules b/scripts/package/debian/rules > index 6b2333e3cf96..36d51f60f98d 100755 > --- a/scripts/package/debian/rules > +++ b/scripts/package/debian/rules > @@ -3,8 +3,6 @@ > > include debian/rules.vars > > -srctree ?= . > - > ifneq (,$(filter-out parallel=1,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))) > NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) > MAKEFLAGS += -j$(NUMJOBS) > @@ -18,20 +16,20 @@ make-opts = ARCH=$(ARCH) KERNELRELEASE=$(KERNELRELEASE) KBUILD_BUILD_VERSION=$(r > binary: binary-arch binary-indep > binary-indep: build-indep > binary-arch: build-arch > - $(MAKE) -f $(srctree)/Makefile $(make-opts) \ > + $(MAKE) $(make-opts) \ > run-command KBUILD_RUN_COMMAND='+$${srctree}/scripts/package/builddeb' > > .PHONY: build build-indep build-arch > build: build-arch build-indep > build-indep: > build-arch: > - $(MAKE) -f $(srctree)/Makefile $(make-opts) \ > + $(MAKE) $(make-opts) \ > olddefconfig all > > .PHONY: clean > clean: > rm -rf debian/files debian/linux-* debian/deb-env.vars > - $(MAKE) -f $(srctree)/Makefile ARCH=$(ARCH) clean > + $(MAKE) ARCH=$(ARCH) clean > > # If DEB_HOST_ARCH is empty, it is likely that debian/rules was executed > # directly. Run 'dpkg-architecture --print-set --print-format=make' to > -- > 2.40.1 >