From patchwork Tue Aug 6 23:09:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez via B4 Relay X-Patchwork-Id: 817647 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 5C4C3175D42; Tue, 6 Aug 2024 23:10:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722985803; cv=none; b=Sord1ihkFm2ezRcL2KNxd3UFKFsmVlZ6z6m8RiWWOtvVdXhZEPoOqOqu3JICt7EN0NeDzvtxjaOIxUdgE82SHr97/qAw0czqYmgjD5kFadngRziCiliGM3w9NPCnIP7A6pwqL5BoDE1k4lxUeeaOjcEuxzPv1KTGR1uaFWN1zas= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722985803; c=relaxed/simple; bh=xrcHA/O7r3/YYBS+h704QYs1S7cg1BNR1Qpxff2BfLo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aFS2/fBZpt9k913eEtj441QQvIuSn3cORMxkdwKjzuCjHDq1oCMuxYIu6uHr4EWzK3bael6f+dASqKC/ZfF+Ee5gaSFQ2/EKXT2AHk985Mn5DA4ivwHQ/OIktIlsSV/2jgtfRX2LcIbPnZwniZpnZqnuOlYOPHXDW859cS4ufEY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mFCPbCCw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mFCPbCCw" Received: by smtp.kernel.org (Postfix) with ESMTPS id DD429C4AF13; Tue, 6 Aug 2024 23:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722985803; bh=xrcHA/O7r3/YYBS+h704QYs1S7cg1BNR1Qpxff2BfLo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=mFCPbCCwA7dKJKjZ+Jye9k8VOGm2SpZuyRkh5tBD6YRUgHvF+iAy5FGjk7v7rt6BQ hdL/fsdNK3UaPf5Gr/N+VB1fJc+8dEpspMp9UzI9wiD/ERDntd+Rw0VCyDNYvCpMrG uPKwoAuYXZp2VcyTd3EZtAnA8MnoM/UG3UgmaiHCZsmkWeizWf4UMyjby+rHcdrPn/ EVDNLvC6dA49BB0YWHYRcTGLjLUr11wdtCwgTZASziM72h1gznDWVFnwtYJUsb6Bge r0wDhFhFVYS/FzHGitH2al3P71sR4X2N9p+CJ16PML6jorC6YL4r7A7rtHWdPTMnPU 4llX+qXyjhiXQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA50CC52D6F; Tue, 6 Aug 2024 23:10:02 +0000 (UTC) From: Daniel Gomez via B4 Relay Date: Wed, 07 Aug 2024 01:09:16 +0200 Subject: [PATCH 02/12] kbuild: add header_install dependency to scripts Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240807-macos-build-support-v1-2-4cd1ded85694@samsung.com> References: <20240807-macos-build-support-v1-0-4cd1ded85694@samsung.com> In-Reply-To: <20240807-macos-build-support-v1-0-4cd1ded85694@samsung.com> To: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Lucas De Marchi , =?utf-8?q?Thomas_Hellstr=C3=B6?= =?utf-8?q?m?= , Rodrigo Vivi , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , Paul Moore , Stephen Smalley , Ondrej Mosnacek , Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Greg Kroah-Hartman , Jiri Slaby , Nick Desaulniers , Bill Wendling , Justin Stitt Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, speakup@linux-speakup.org, selinux@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-serial@vger.kernel.org, llvm@lists.linux.dev, Finn Behrens , "Daniel Gomez (Samsung)" , gost.dev@samsung.com, Daniel Gomez X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1722985800; l=856; i=da.gomez@samsung.com; s=20240621; h=from:subject:message-id; bh=0otf74yOlfB/2ZHNvaLEeBp7JJmGu+twOyvFqgg1tYs=; b=ZPst/uFwbcTWjclR+Q4Gx52+bt556TvdClk7ycF8grO6E00uv3oj7vx9fEgnW94ziDOTZ72WN VVPUIy4g0JyDnGz/jYwH+E/0Q/EDirhV3886smdGXs+ONGBw1DIy/vY X-Developer-Key: i=da.gomez@samsung.com; a=ed25519; pk=BqYk31UHkmv0WZShES6pIZcdmPPGay5LbzifAdZ2Ia4= X-Endpoint-Received: by B4 Relay for da.gomez@samsung.com/20240621 with auth_id=175 X-Original-From: Daniel Gomez Reply-To: da.gomez@samsung.com From: Daniel Gomez Export kernel headers necessary for the tools located in scripts/. This ensures kernel headers are generated before building scripts/selinux. Kernel headers required for building are: asm/types.h, asm/bitsperlong.h and asm/poix_types.h. Signed-off-by: Daniel Gomez --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 44c02a6f60a1..7ac079955a94 100644 --- a/Makefile +++ b/Makefile @@ -1173,7 +1173,7 @@ include/config/kernel.release: FORCE # Carefully list dependencies so we do not try to build scripts twice # in parallel PHONY += scripts -scripts: scripts_basic scripts_dtc +scripts: headers_install scripts_basic scripts_dtc $(Q)$(MAKE) $(build)=$(@) # Things we need to do before we recursively start building the kernel