From nobody Sat Oct 12 20:58:46 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XQwny6mHTz5YyMp; Sat, 12 Oct 2024 20:58:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQwny47hQz4SSh; Sat, 12 Oct 2024 20:58:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728766726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p+er28IMaODP3aOOY/RtG4tPqDSJyHSypigk2pS74G8=; b=J+XdQLSz3eQ/bWsH0c9cxIqWNQ9koJ2lHi7REI65StPgm1tDw8T3ZhKknKX8u1Zr/ziauR 3l0v9czoptgXsa4fLqNedj74Z3gOqYO0fEa/pDbd2Q/CgL4Sg0Kwg+6+kDrzSPEGzEV4q5 it1qqF2p6+A/94NdN23t6C3GVdyZFvR/vD41Tt3fvpJ4UlpHWqzQVvgIBoCvf4gaOcXhTC sPNPPz0Q1/oWuvUrKlPF1GMc4HbvBXCv2iTeClVLqJl5CrAA5KrzRV3gZPc1Ht3AQt0f/t yM2vj0L2vljNhk7CBPKEMx13XUdYvH5uYikLUrLXsj1c698462pXLQRAoC4aiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728766726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p+er28IMaODP3aOOY/RtG4tPqDSJyHSypigk2pS74G8=; b=UAvtW9UsWPtaJjj1kYPw3GXtGVmCXtm5OyWForLIls1BmKJpncV+9oMHDv0Ieb2X4vK66F qb9qNX98Bmqq2tQTIDyC/KMqd9qbEg27U+PQYF4RYdC0GStPZ6h98pHV6zMKkG23OqOZSR kOZxFFyskOqV9XBxj081YH93iep7fvdPCwNeIt2lLC3oVj3+uUXdwfOnlF7wAyw1rrFdD4 aE4LLKqWKSG8F4ii3doneu9zOCRKqNn+KeSUAfpsTHPTWKmwn7a6zt4WqwiUMk1fbjv0kJ +BpEgmY8fHwJ2JRw2FyKWIHB/wCmE7pPja5WIZx0GyR56t7F/MbfLtxU8QYngw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728766726; a=rsa-sha256; cv=none; b=AuUwnlc8CTnknkM6zcGLsN9b3to+jnP3e8sYmlGf1VoNCV9GDZ8cm18dR++Jre6AOOGM7+ /n0w4jhtVGUDt00kMr0Pq9Kncb/v0SGFAme0bKKnViXSPXQH2afxd6OGlPnOmoE/M3L2tY ovaWnKEX0UXgKshCw75rZO/NAD9YfLcY7QQBQLKy4XB0dDrgvuUSVuZr6t4pdKO9UzY3qt BvX7clN2TG/06jEhNsMywXBDSKhnfnWQsyQ3tVnmPgRtPdDWCO2RY3C1cXX5zQX0pt4bHd /3eq+8j04GPX7ytvkX/Xu0ldDsuZjij68RGTv11+Hgs5NXEY/xLW41sPmLIT6Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XQwny3lBTzQHx; Sat, 12 Oct 2024 20:58:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49CKwk9l038190; Sat, 12 Oct 2024 20:58:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49CKwkrP038188; Sat, 12 Oct 2024 20:58:46 GMT (envelope-from git) Date: Sat, 12 Oct 2024 20:58:46 GMT Message-Id: <202410122058.49CKwkrP038188@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 1a37caeb076b - main - modules: Add missing opt_*.h files for stand-alone compile List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a37caeb076b9d31e13c54691d7f1eeb589798bb Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1a37caeb076b9d31e13c54691d7f1eeb589798bb commit 1a37caeb076b9d31e13c54691d7f1eeb589798bb Author: Warner Losh AuthorDate: 2024-10-12 20:40:41 +0000 Commit: Warner Losh CommitDate: 2024-10-12 20:40:41 +0000 modules: Add missing opt_*.h files for stand-alone compile Standalone compile that we at least create these opt_*.h files. Sponsored by: Netflix --- sys/modules/linux/Makefile | 2 ++ sys/modules/linux64/Makefile | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index eb4e17ec706b..36dfbbe2192f 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -33,6 +33,7 @@ SRCS= linux${SFX}_dummy_machdep.c \ linux_uid16.c \ linux_vdso.c \ linux_xattr.c \ + opt_compat.h \ opt_inet.h \ opt_inet6.h \ opt_ktrace.h \ @@ -41,6 +42,7 @@ SRCS= linux${SFX}_dummy_machdep.c \ bus_if.h \ device_if.h \ vnode_if.h + .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" SRCS+= linux_dummy_x86.c VDSODEPS=linux_vdso_gettc_x86.inc diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile index b23891a65a4f..119d90126ab3 100644 --- a/sys/modules/linux64/Makefile +++ b/sys/modules/linux64/Makefile @@ -28,14 +28,17 @@ SRCS= linux_dummy_machdep.c \ linux_vdso.c \ linux_timer.c \ linux_xattr.c \ - opt_ktrace.h \ + opt_compat.h \ opt_inet6.h \ + opt_ktrace.h \ opt_posix.h \ + opt_usb.h \ bus_if.h \ device_if.h \ vnode_if.h \ linux_support.S \ linux_vdso_inc.S + .if ${MACHINE_CPUARCH} == "amd64" SRCS+= linux_dummy_x86.c .endif