Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3229751rdb; Tue, 26 Dec 2023 23:55:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQoOJ2IrFTGAa+tthg1IPZQUuSUnoYWztJM6ChLSJ/QCfNpsoXh0tKzKtrHhsbxq24W37o X-Received: by 2002:a05:622a:1306:b0:427:83fb:a7fc with SMTP id v6-20020a05622a130600b0042783fba7fcmr12362026qtk.82.1703663738159; Tue, 26 Dec 2023 23:55:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703663738; cv=none; d=google.com; s=arc-20160816; b=hCbcIEft6mHCFDwRN0Q6M3RUYWZ4jBn+qiR/ElxLHa+RM2Hq28xIDTb0jWoQ5I950F z+t0+DbvwttixgypYz96QkluCZZOwRxmiRmtQRayqhVmpI6qHjArDLx95hXXAGhC16dN eF8toQuObsG6bfOoxptygBAWOuWVyV0fD9RkPKGySIOEg4bNdfMYrmtvEbcQGnwnHpKi Bo0iwy2A4EpWBx/3FDEzJNlfATmPbK8Y8mhiJJPOzvui4YSuEOxWYLuBj6uED6//Qojk xbDObjvX3/N2UDqfQVcc96obs+FpVyaHS1lwvWqvK+Ka0NncoPUoLO3hr+Q2voyfdwLx INkg== 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; bh=Kbp6InZ9W0qxX+aWrlxxE4a3CT5yI3DAD8bK9ru6yWo=; fh=f0A9nhGK9owKAvfuKSRYno7NswmG9iY69dN8ddydz6c=; b=NaHa4ufg9HiciY2Xv+DOAGy2uCNh7iqJS3OWx8NqnqcU4wJyW6EqM+juzU0b1+vOXG Vxp0m+nxFAv/UvgnLCtxqDXQ42FiyrEG3vfex3/Hpm3mUCyXn4wZW14AbJwBrYfMtiOg OPuflGz68m6YXsGDXqPAl5RVzsX7VspqWLuEg1E8GWkPWrBPOrfAVtO1zLXUzFBXs08S DFepbi/nnIeZzRoFClrRFnWnnuXeQUWe7mAKhE5fiSwNrHdaok+Mk3X/CopSETQZ3tNP QrKirro01d2rA4vk7IXiy7F29RwZkKd1FLdOObVlZBkUnNuteraAaC/vD6A7P0NWle6u eRSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-11892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11892-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d13-20020ac85d8d000000b0042578643aacsi14214035qtx.577.2023.12.26.23.55.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 23:55:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-11892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11892-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D9F811C222E7 for ; Wed, 27 Dec 2023 07:55:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91C206127; Wed, 27 Dec 2023 07:55:31 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail.avm.de (mail.avm.de [212.42.244.119]) (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 4A48C566F; Wed, 27 Dec 2023 07:55:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=fjasle.eu 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 08:55:12 +0100 (CET) Received: from buildd.core.avm.de (buildd-sv-01.avm.de [172.16.0.225]) by mail-auth.avm.de (Postfix) with ESMTPA id 6755A80453; Wed, 27 Dec 2023 08:55:12 +0100 (CET) Received: by buildd.core.avm.de (Postfix, from userid 1000) id 5B8EF18131F; Wed, 27 Dec 2023 08:55:12 +0100 (CET) Date: Wed, 27 Dec 2023 08:55:12 +0100 From: Nicolas Schier To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Ben Hutchings , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] kbuild: deb-pkg: factor out common Make options 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> 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-1-masahiroy@kernel.org> Organization: AVM GmbH X-purgate-ID: 149429::1703663712-956FB5FF-50D739FB/0/0 X-purgate-type: clean X-purgate-size: 1491 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:38PM +0900, Masahiro Yamada wrote: > This avoid code duplication between binary-arch and built-arch. avoids ? Reviewed-by: Nicolas Schier > > Signed-off-by: Masahiro Yamada > --- > > scripts/package/debian/rules | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/scripts/package/debian/rules b/scripts/package/debian/rules > index 3dafa9496c63..26bc6239e200 100755 > --- a/scripts/package/debian/rules > +++ b/scripts/package/debian/rules > @@ -10,20 +10,20 @@ ifneq (,$(filter-out parallel=1,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))) > MAKEFLAGS += -j$(NUMJOBS) > endif > > +make-opts = ARCH=$(ARCH) KERNELRELEASE=$(KERNELRELEASE) > + > .PHONY: binary binary-indep binary-arch > binary: binary-arch binary-indep > binary-indep: build-indep > binary-arch: build-arch > - $(MAKE) -f $(srctree)/Makefile ARCH=$(ARCH) \ > - KERNELRELEASE=$(KERNELRELEASE) \ > + $(MAKE) -f $(srctree)/Makefile $(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 ARCH=$(ARCH) \ > - KERNELRELEASE=$(KERNELRELEASE) \ > + $(MAKE) -f $(srctree)/Makefile $(make-opts) \ > $(shell $(srctree)/scripts/package/deb-build-option) \ > olddefconfig all > > -- > 2.40.1 >