From patchwork Tue Aug 6 23:09:25 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: 13755472 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6A268C52D6F for ; Tue, 6 Aug 2024 23:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=orWO7CQHl0q2zZKgDpAphY/SHc5hiN/jwU6fioFvwhg=; b=ygRfAI3uH6vKww1SzBKpEsMJF0 XJKWilDMfE9cFXRgQ2QvskTa0XxHdk8nY9P1gdtmZEFYtG1FLJFfhbRTpwjaKLubOl66NjR8GN2PM STgWxrs58dnL6sbeUVR5/rYb3+jeG/eV/zERZufvIlDRV7rWnO4Tcna9Pey0RgN940bzln/eG2c04 7KFOdKah+6SLelmhh8UiVtulQKv4SusGAP1DjElbInCQOfMWi7LAdoBBiQlaZMw6go6JeZ1YtZZRc 9LYYhwfv+8NKukoK6ICQp2ivJEgBZNCzLZ2IldMBjMYfRJBMcg/QuTKgLfo2clhyS9q0oBNkfRVju yhcUAX2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbTOT-00000003HL9-3UzC; Tue, 06 Aug 2024 23:15:05 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbTJf-00000003FhU-1K9w for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 23:10:09 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id A1E1461173; Tue, 6 Aug 2024 23:10:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id BC8D9C4AF1C; Tue, 6 Aug 2024 23:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722985803; bh=JOwNCNr3/IEbe6BdNnnrPTwJINMvSZj5yZCINdET7DM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=d1tdHXXGxre4WSP+5XHhbrZaAFl9Q1axTlOCxWPyt0PC+zHC5BPvvBMCXPxJ5VQPQ D/MKgQHR6vbSQV3xdkFAZ/FjkZFAGbq2Mhb5PonaeTYS7pTdpS3TKqZcqo+TzgG+Uw fpzPYYvGH8RF4B8nDZDoBPruy+MECvLKlGrh/gif7Kofoz15Xs5ofSpukwv4A6lgXC 6b0fkVNKMKXF5pf05LOBnSUX58K9ml4QGZ+UQUC/UJzNI7jmYDK+UoOJgLqDwPCBrh +uomJrEsMpLCrEGtUP6Kk1JIJ65rwcpNSVxo+XEvqZ93peIKWNNwnPJdTWXcKGtneW aF6P7uexYQfhA== 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 AF56DC49EA1; Tue, 6 Aug 2024 23:10:03 +0000 (UTC) From: Daniel Gomez via B4 Relay Date: Wed, 07 Aug 2024 01:09:25 +0200 Subject: [PATCH 11/12] tty/vt: conmakehash requires linux/limits.h MIME-Version: 1.0 Message-Id: <20240807-macos-build-support-v1-11-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=1705; i=da.gomez@samsung.com; s=20240621; h=from:subject:message-id; bh=GlY+ZLQcYSKSN3SyY915ZDHwX28gVnVDJorFIIf1+Jo=; b=TXC+qEwbi6LwhRfspoNf9uCJM5mS5rpVYHpZ3bnRG1KFrfzm+UI/apLoI43ShxbZHbpUUEVBL CkbYZiLdsfUA4G8wSWyMc3cIK3tGKT6BD0jGlYhjBBXl1eg0MflhqKS 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_161007_614564_CC7FF687 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: da.gomez@samsung.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Daniel Gomez macOS hosts do not provide the linux/limits.h header required for conmakehash. To address this, ensure that usr/include is included in the conmakehash HOSTCFLAGS. This will provide the necessary header for successful compilation on macOS. Fixes error: HOSTCC drivers/tty/vt/conmakehash - due to target missing clang -Wp,-MMD,drivers/tty/vt/.conmakehash.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11 -I ./scripts/include -o drivers/tty/vt/conmakehash drivers/tty/vt/conmakehash.c drivers/tty/vt/conmakehash.c:15:10: fatal error: 'linux/ limits.h' file not found 15 | #include | ^~~~~~~~~~~~~~~~ 1 error generated. make[5]: *** [scripts/Makefile.host:116: drivers/tty/vt/conmakehash] Error 1 make[4]: *** [scripts/Makefile.build:485: drivers/tty/vt] Error 2 make[3]: *** [scripts/Makefile.build:485: drivers/tty] Error 2 make[2]: *** [scripts/Makefile.build:485: drivers] Error 2 make[1]: *** [/Volumes/src/kernel/linux-next/Makefile:1925: .] Error 2 make: *** [Makefile:224: __sub-make] Error 2 Signed-off-by: Daniel Gomez --- drivers/tty/vt/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/vt/Makefile b/drivers/tty/vt/Makefile index 2c8ce8b592ed..d266895357e5 100644 --- a/drivers/tty/vt/Makefile +++ b/drivers/tty/vt/Makefile @@ -13,6 +13,7 @@ obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o clean-files := consolemap_deftbl.c defkeymap.c hostprogs += conmakehash +HOSTCFLAGS_conmakehash.o = -I$(srctree)/usr/include quiet_cmd_conmk = CONMK $@ cmd_conmk = $(obj)/conmakehash $< > $@