Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp5092841rdb; Sat, 30 Dec 2023 05:52:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFu8yc1oskUMovB07hmJoQaWu4TwtEbVO3QhOiaAW2b42Cmj1wDUiI3LyXP9Xp2DUPjDemj X-Received: by 2002:a17:903:246:b0:1d3:fbe6:9006 with SMTP id j6-20020a170903024600b001d3fbe69006mr16931535plh.40.1703944336785; Sat, 30 Dec 2023 05:52:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703944336; cv=none; d=google.com; s=arc-20160816; b=aXYifspMR6bR7yiDjk+Cq/BgEQQJ7Gn1+oGyYSrlkZA0CdJlo/d+XC4PEIAZMFCbSd fLcHITHEvTUgBGnoREM95K79wXF/+Jj/tWiX1Q7e0gBPwIoXwyAHi+/AuvCSWRmSlhFc U+vaa/u5Ox1vwunzAWwONdSs5eSvv9Or5XHyHFg2lWRj4RplbAfVCM1je7gKnf1PGbbo iDbky60Pt1HyVh047w/R94yX7/WMojEVcrJ1mfZhhJgx5pSm2UvrG8Fcc18DaLzAotsi +cCER4KqILJbzdCC2uGGcA2qeqVvx+ZxLl6LCc8VJVUqv/laNj/W0ZVcL7qFEuaE3qtD sZCA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=CDRS04BashpMFDUIxCodRBzo58n8uptM7wfoDDa34Wo=; fh=5gYN4msaJmwnN8mGpibv8VZnTy0MtvGQcf5D09XpoaQ=; b=RSMM7BO1c8sDQbRaYEITjItZW46g9I+38szeSdJp9eY1i6oTc/78WLV5TaU1Z5rE9q LrMaQok0iNcTKbEiEpJMOXZaBNpgCuhdgPypJbqYA5wdEQbvE6CURlMEQTSy+2ie0dts /LWGNMx1KyXsoSQsj7PP7VjA591exm+Mfgvl95ckD08lk61eJNepAq0aXbduJlBAbZUp tr9QuLEOJoHP/coRcD4SivI+XIypLQFGak+cGdhN51IoDKxHeoTEurivWekPRvbaPt3N AtyHLnsoxxvlzyR38eLJ8A1EeNrj4Jke+FxovsehPjxTQh7Y2bbbbDQMAwoTJV8zTdWz l4iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Tf9kgC0O; spf=pass (google.com: domain of linux-kernel+bounces-13438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13438-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o12-20020a17090a9f8c00b0028b21dd5308si19530889pjp.37.2023.12.30.05.52.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 05:52:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Tf9kgC0O; spf=pass (google.com: domain of linux-kernel+bounces-13438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13438-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BF5C4B213F3 for ; Sat, 30 Dec 2023 13:52:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 354978F45; Sat, 30 Dec 2023 13:52:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Tf9kgC0O" 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 53AA18BED; Sat, 30 Dec 2023 13:52:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89A96C433C7; Sat, 30 Dec 2023 13:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703944324; bh=I8YWkNwCfpsTCQMjWVH+WYYNUuZhW8O5gv7Trb+2X3I=; h=From:To:Cc:Subject:Date:From; b=Tf9kgC0OzB3/DOGkdXeZio0IHJKL0+iT99ZhAUEHwPB0KSBkAJMOZVNxoqlbUbBpj pTEX1c1KaFnopzGD2H0tB+fXdJmjc5uEYJYs/jSTF82EM1nhS+6zgUCHUwgxqpwFfU yqwpEYfeyuBiMDa4Yii9+JuIxfxYDPXQMmVvJMmS2scOTTLsfO4u2jNcgYwjzsDRd9 tCjWpcW0pLEkeE4wrNRBUUPNTvE0Lf5bYxbUmYpKdEH4AZx1S3xDv3e98SKwYvBRi3 rrpkw78tGtd0QI3+59xcPYUAU4FDP9tCp+TQ/rfhR+yLYxsNhJxL1FgpPfFV1QUZSs fBTqkkwz/hdOQ== 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 1/5] kbuild: deb-pkg: move 'make headers' to build-arch Date: Sat, 30 Dec 2023 22:51:56 +0900 Message-Id: <20231230135200.1058873-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Strictly speaking, 'make headers' should be a part of build-arch instead of binary-arch. 'make headers' constructs read-to-copy UAPI headers in the kernel directory. Signed-off-by: Masahiro Yamada --- scripts/package/builddeb | 1 - scripts/package/debian/rules | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index cc8c7a807fcc..842ee4b40528 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -155,7 +155,6 @@ install_libc_headers () { rm -rf $pdir - $MAKE -f $srctree/Makefile headers $MAKE -f $srctree/Makefile headers_install INSTALL_HDR_PATH=$pdir/usr # move asm headers to /usr/include//asm to match the structure diff --git a/scripts/package/debian/rules b/scripts/package/debian/rules index cb084e387469..a686c37d0d02 100755 --- a/scripts/package/debian/rules +++ b/scripts/package/debian/rules @@ -26,8 +26,8 @@ binary-arch: build-arch build: build-arch build-indep build-indep: build-arch: - $(MAKE) $(make-opts) \ - olddefconfig all + $(MAKE) $(make-opts) olddefconfig + $(MAKE) $(make-opts) headers all .PHONY: clean clean: -- 2.40.1