Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2804280rdb; Tue, 26 Dec 2023 05:53:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOaXxSXIoBD8ZxRjidGWHcrxcHUKcsNb3nWLoUjGybIRfLpeC5fsnZAdp7iytAgwd1b70c X-Received: by 2002:a17:902:ba83:b0:1d0:acfc:a653 with SMTP id k3-20020a170902ba8300b001d0acfca653mr7142783pls.84.1703598839228; Tue, 26 Dec 2023 05:53:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703598839; cv=none; d=google.com; s=arc-20160816; b=ubp8pEaZHDhtMWmKJUdHqeSCZbbB6jSCD6uZUIB98Gkc8uIIi0WvT0/oUit7Mw04GT 6gxmArVIQ6D38Lr9Y6CiMUKPb9+l+9BrDAHk4nKK/bbG2x76QYCPXC4pUx2UWvut9+8/ IFiSkwRuKap6w7VeLfQwVHC8nQ97sMnLYBAViJU5Dwgj3Ew7s5294IzsZUSjqdgYVvFg ajMU2eF66iZSUgEGwmSEpUFZo4IyNR1Qu7W6WtAwXSl5X14oFXYQX/CKodXuYfQlhwJi 4nIGey4m/e3MZefjVxrhfCRYvplOCRjp4qjhuOLFpwnFSKHLkw73THj9eNse6032AvCA NzNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=C21jKShFVWYhGFY7tVS+lUCWy3QtACdk+8CLQ2u/fqw=; fh=5gYN4msaJmwnN8mGpibv8VZnTy0MtvGQcf5D09XpoaQ=; b=S6KmBupcg9Adp4M33i/Iip+ta6YUCqa6yItLB83gyoR7k5ojw1OKP4iLKNOA6v50WC 3YRplCvJii3YpZpCLkIlN9MwKILpqLM8IZglTQGas5YNwGpXWTwErojs5vNv0gfnATBD 4mLodlhiUDh6NIndYlCOHvapFv2LV38JVy0pEFHl20YP+8XmXpobJedYWzS7483/KnCz DOSRhH2l6hS5X8k9TWHOUcCA4AesOFq7uUpGgViInMv1lt6b+WvKRiOgPdBcw8jjbOJq LIO6Lulh6AYgW3oVDsdEt8NSG32YXxrPomX5h5pon+hg4xX8En4mj7r0BjZT2FreOtDC nK9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g6Ryscme; spf=pass (google.com: domain of linux-kernel+bounces-11534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u13-20020a170902e5cd00b001d43d94e18bsi5332188plf.445.2023.12.26.05.53.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 05:53:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g6Ryscme; spf=pass (google.com: domain of linux-kernel+bounces-11534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 DD100282F61 for ; Tue, 26 Dec 2023 13:53:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E808C4EB5A; Tue, 26 Dec 2023 13:53:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="g6Ryscme" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 270FC4F8A6; Tue, 26 Dec 2023 13:53:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60B44C433CB; Tue, 26 Dec 2023 13:53:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703598783; bh=fSRgbph1yPaaUtk0eAjQa+ArlTVll7f5fkppZKDNpBg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g6RyscmeMEpXnOlMRmKtwyX7WOTR+p/iLVqxnGz2NW9MO6CnLueLYmiwj7XefRDiT v1c+KjwFOBGsMkFAxXJIlyj6Y0bY5A6bg/IsXu5q6EpCqfuFo7UYHgVx/naEMxGBlt oruY50rGDqPaglzXdzH1Aa0Uye7SirKLoqBWow9FvWHZMwujHjgpAV81Jflkul3pW/ rFdRIcVWX3pVi2eDCV1NhzH+dSc1/GjDEJvHcQP5S0I5WufY3fi9IeYdeX8jHivXIQ 6T3qHH7axfU3psgo8U09LX4QYvbNXqBrqjXlw2cNEKPB7vqjlJSaNSY0y59mp81Dho KYO5nVEyuJ1KA== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Ben Hutchings , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kernel@vger.kernel.org Subject: [PATCH 5/6] kbuild: deb-pkg: remove unneeded '-f $srctree/Makefile' in debian/rules Date: Tue, 26 Dec 2023 22:52:42 +0900 Message-Id: <20231226135243.1393780-5-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231226135243.1393780-1-masahiroy@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-Transfer-Encoding: 8bit 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 --- 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