Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch make COMPAT_LINUX option disabled by default



details:   https://anonhg.NetBSD.org/src/rev/df034de6e2b0
branches:  trunk
changeset: 937350:df034de6e2b0
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Aug 16 10:27:47 2020 +0000

description:
make COMPAT_LINUX option disabled by default

leave the option enabled only in amd64/i386 ALL kernels to make
sure it continues to be compilable also when included in kernel

diffstat:

 sys/arch/alpha/conf/GENERIC            |  7 ++-----
 sys/arch/amd64/conf/GENERIC            |  6 ++----
 sys/arch/amd64/conf/MODULAR            |  4 +---
 sys/arch/amd64/conf/NOCOMPAT           |  5 +----
 sys/arch/amd64/conf/XEN3_DOM0          |  6 ++----
 sys/arch/amd64/conf/XEN3_DOMU          |  6 ++----
 sys/arch/evbarm/conf/ARMADILLO9        |  3 +--
 sys/arch/evbarm/conf/DUOVERO           |  3 +--
 sys/arch/evbarm/conf/GUMSTIX           |  3 +--
 sys/arch/evbarm/conf/HPT5325           |  3 +--
 sys/arch/evbarm/conf/MARVELL_NAS       |  4 +---
 sys/arch/evbarm/conf/MV2120            |  4 +---
 sys/arch/evbarm/conf/OPENBLOCKS_A6     |  3 +--
 sys/arch/evbarm/conf/OPENBLOCKS_AX3    |  3 +--
 sys/arch/evbarm/conf/OPENRD            |  4 +---
 sys/arch/evbarm/conf/PEPPER            |  3 +--
 sys/arch/evbarm/conf/POGO              |  1 -
 sys/arch/evbarm/conf/SHEEVAPLUG        |  3 +--
 sys/arch/i386/conf/GENERIC             |  6 ++----
 sys/arch/i386/conf/MODULAR             |  3 +--
 sys/arch/i386/conf/XEN3PAE_DOM0        |  4 +---
 sys/arch/i386/conf/XEN3PAE_DOMU        |  4 +---
 sys/arch/netwinder/conf/GENERIC        |  4 +---
 sys/arch/sgimips/conf/GENERIC32_IP2x   |  7 ++-----
 sys/arch/sgimips/conf/GENERIC32_IP3x   |  7 ++-----
 sys/arch/sgimips/conf/INSTALL32_IP2x   |  1 -
 sys/arch/sgimips/conf/std.sgimips64_32 |  4 +---
 sys/arch/shark/conf/GENERIC            |  6 ++----
 28 files changed, 34 insertions(+), 83 deletions(-)

diffs (truncated from 556 to 300 lines):

diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/alpha/conf/GENERIC
--- a/sys/arch/alpha/conf/GENERIC       Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/alpha/conf/GENERIC       Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.403 2020/08/01 08:20:47 maxv Exp $
+# $NetBSD: GENERIC,v 1.404 2020/08/16 10:27:47 jdolecek Exp $
 #
 # This machine description file is used to generate the default NetBSD
 # kernel.
@@ -19,7 +19,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-ident          "GENERIC-$Revision: 1.403 $"
+ident          "GENERIC-$Revision: 1.404 $"
 
 maxusers 32
 
@@ -130,9 +130,6 @@
 # Binary compatibility with previous versions of NetBSD.
 include        "conf/compat_netbsd09.config"
 
-# Linux binary compatibility
-options        COMPAT_LINUX
-
 # System V-like message queues
 options        SYSVMSG
 
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.574 2020/08/01 08:20:47 maxv Exp $
+# $NetBSD: GENERIC,v 1.575 2020/08/16 10:27:47 jdolecek Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.574 $"
+#ident         "GENERIC-$Revision: 1.575 $"
 
 maxusers       64              # estimated number of users
 
@@ -180,8 +180,6 @@
 
 options        COMPAT_OSSAUDIO
 options        COMPAT_NETBSD32
-options        COMPAT_LINUX
-options        COMPAT_LINUX32  # req. COMPAT_LINUX and COMPAT_NETBSD32
 options        EXEC_ELF32
 
 # Wedge support
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/amd64/conf/MODULAR
--- a/sys/arch/amd64/conf/MODULAR       Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/amd64/conf/MODULAR       Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MODULAR,v 1.15 2020/03/25 17:06:18 jdolecek Exp $
+# $NetBSD: MODULAR,v 1.16 2020/08/16 10:27:47 jdolecek Exp $
 #
 # Try to exclude all the drivers in GENERIC that have been modularized
 # XXX: incomplete
@@ -30,8 +30,6 @@
 
 -no options    COMPAT_OSSAUDIO
 -no options    COMPAT_NETBSD32
--no options    COMPAT_LINUX
--no options    COMPAT_LINUX32  # req. COMPAT_LINUX and COMPAT_NETBSD32
 -no options    EXEC_ELF32
 -no options    COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
 
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/amd64/conf/NOCOMPAT
--- a/sys/arch/amd64/conf/NOCOMPAT      Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/amd64/conf/NOCOMPAT      Sun Aug 16 10:27:47 2020 +0000
@@ -1,6 +1,6 @@
 include "arch/amd64/conf/GENERIC"
 
-#ident         "NOCOMPAT-$Revision: 1.4 $"
+#ident         "NOCOMPAT-$Revision: 1.5 $"
 
 no options     SYSVMSG         # System V-like message queues
 no options     SYSVSEM         # System V-like semaphores
@@ -33,7 +33,4 @@
  
 no options     COMPAT_OSSAUDIO
 no options     COMPAT_NETBSD32
-no options     COMPAT_LINUX
-no options     COMPAT_LINUX32  # requires COMPAT_LINUX and COMPAT_NETBSD32
-                               # and COMPAT_50 (or older)
 no options     EXEC_ELF32      # requires COMPAT_NETBSD32
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.183 2020/08/01 08:20:47 maxv Exp $
+# $NetBSD: XEN3_DOM0,v 1.184 2020/08/16 10:27:47 jdolecek Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -12,7 +12,7 @@
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOM0-$Revision: 1.183 $"
+#ident         "XEN3_DOM0-$Revision: 1.184 $"
 
 maxusers       32              # estimated number of users
 
@@ -71,8 +71,6 @@
 
 options        COMPAT_OSSAUDIO
 options        COMPAT_NETBSD32
-options        COMPAT_LINUX
-options        COMPAT_LINUX32  # req. COMPAT_LINUX and COMPAT_NETBSD32
 options        EXEC_ELF32
 
 # Wedge support
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/amd64/conf/XEN3_DOMU
--- a/sys/arch/amd64/conf/XEN3_DOMU     Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOMU     Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.94 2020/08/01 08:20:47 maxv Exp $
+# $NetBSD: XEN3_DOMU,v 1.95 2020/08/16 10:27:47 jdolecek Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -11,7 +11,7 @@
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOMU-$Revision: 1.94 $"
+#ident         "XEN3_DOMU-$Revision: 1.95 $"
 
 maxusers       32              # estimated number of users
 
@@ -61,8 +61,6 @@
 
 options        COMPAT_OSSAUDIO
 options        COMPAT_NETBSD32
-options        COMPAT_LINUX
-options        COMPAT_LINUX32  # req. COMPAT_LINUX and COMPAT_NETBSD32
 options        EXEC_ELF32
 
 # Wedge support
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/ARMADILLO9
--- a/sys/arch/evbarm/conf/ARMADILLO9   Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/ARMADILLO9   Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ARMADILLO9,v 1.63 2020/08/01 08:20:48 maxv Exp $
+#      $NetBSD: ARMADILLO9,v 1.64 2020/08/16 10:27:47 jdolecek Exp $
 #
 #      ARMADILLO9 -- Atmark Techno, Armadillo-9
 #
@@ -73,7 +73,6 @@
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
 options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options        COMPAT_LINUX    # binary compatibility with Linux
 
 # Shared memory options
 options        SYSVMSG         # System V-like message queues
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/DUOVERO
--- a/sys/arch/evbarm/conf/DUOVERO      Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/DUOVERO      Sun Aug 16 10:27:47 2020 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: DUOVERO,v 1.19 2020/08/01 08:20:48 maxv Exp $
+#      $NetBSD: DUOVERO,v 1.20 2020/08/16 10:27:47 jdolecek Exp $
 #
 #      DUOOVERO -- Gumstix. Inc. DuoVero COMS platforms kernel
 #
@@ -101,7 +101,6 @@
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
 options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options        COMPAT_LINUX    # binary compatibility with Linux
 
 # Shared memory options
 
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/GUMSTIX
--- a/sys/arch/evbarm/conf/GUMSTIX      Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/GUMSTIX      Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GUMSTIX,v 1.105 2020/08/01 08:20:48 maxv Exp $
+#      $NetBSD: GUMSTIX,v 1.106 2020/08/16 10:27:47 jdolecek Exp $
 #
 #      GUMSTIX -- Gumstix. Inc. gumstix platforms kernel
 #
@@ -97,7 +97,6 @@
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
 options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options        COMPAT_LINUX    # binary compatibility with Linux
 
 # Shared memory options
 
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/HPT5325
--- a/sys/arch/evbarm/conf/HPT5325      Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/HPT5325      Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: HPT5325,v 1.48 2020/08/01 08:20:48 maxv Exp $
+#      $NetBSD: HPT5325,v 1.49 2020/08/16 10:27:47 jdolecek Exp $
 #
 #  This configuration supports for HP T5325 Thin Client
 #
@@ -93,7 +93,6 @@
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
 options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options        COMPAT_LINUX    # binary compatibility with Linux
 
 # Shared memory options
 
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/MARVELL_NAS
--- a/sys/arch/evbarm/conf/MARVELL_NAS  Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/MARVELL_NAS  Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: MARVELL_NAS,v 1.39 2020/08/01 08:20:48 maxv Exp $
+#      $NetBSD: MARVELL_NAS,v 1.40 2020/08/16 10:27:47 jdolecek Exp $
 #
 #  This configuration supports for generically Marvell NAS.
 
@@ -88,8 +88,6 @@
 include        "conf/compat_netbsd16.config"
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
-options        COMPAT_LINUX    # binary compatibility with Linux
-
 # Shared memory options
 
 options        SYSVMSG         # System V-like message queues
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/MV2120
--- a/sys/arch/evbarm/conf/MV2120       Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/MV2120       Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: MV2120,v 1.43 2020/08/01 08:20:48 maxv Exp $
+#      $NetBSD: MV2120,v 1.44 2020/08/16 10:27:47 jdolecek Exp $
 #
 #  This configuration supports for HP MV2120/MV5140/MV5150.
 
@@ -96,8 +96,6 @@
 include        "conf/compat_netbsd16.config"
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
-options        COMPAT_LINUX    # binary compatibility with Linux
-
 # Shared memory options
 
 #options       SYSVMSG         # System V-like message queues
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/OPENBLOCKS_A6
--- a/sys/arch/evbarm/conf/OPENBLOCKS_A6        Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/OPENBLOCKS_A6        Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: OPENBLOCKS_A6,v 1.40 2020/08/01 08:20:48 maxv Exp $
+#      $NetBSD: OPENBLOCKS_A6,v 1.41 2020/08/16 10:27:47 jdolecek Exp $
 #
 #      OPENBLOCKS_A6 -- Plat'Home. OpenBlockS A6 kernel
 #
@@ -91,7 +91,6 @@
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
 options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options        COMPAT_LINUX    # binary compatibility with Linux
 
 # Shared memory options
 
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/OPENBLOCKS_AX3
--- a/sys/arch/evbarm/conf/OPENBLOCKS_AX3       Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/OPENBLOCKS_AX3       Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: OPENBLOCKS_AX3,v 1.32 2020/08/01 08:20:48 maxv Exp $
+#      $NetBSD: OPENBLOCKS_AX3,v 1.33 2020/08/16 10:27:47 jdolecek Exp $
 #
 #      OPENBLOCKS_AX3 -- Plat'Home. OpenBlockS AX3 kernel
 #
@@ -95,7 +95,6 @@
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
 options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options        COMPAT_LINUX    # binary compatibility with Linux
 
 # Shared memory options
 
diff -r db0b849f2c3e -r df034de6e2b0 sys/arch/evbarm/conf/OPENRD
--- a/sys/arch/evbarm/conf/OPENRD       Sun Aug 16 10:08:42 2020 +0000
+++ b/sys/arch/evbarm/conf/OPENRD       Sun Aug 16 10:27:47 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: OPENRD,v 1.8 2017/11/25 04:22:42 christos Exp $
+#      $NetBSD: OPENRD,v 1.9 2020/08/16 10:27:47 jdolecek Exp $
 #
 # This is a working config file for OpenRD(.org) Client.  Note that the
 # default boot address will not work and the kernel has to load at 8MB
@@ -17,8 +17,6 @@
 
 #options       FPU_VFP
 
-no options     COMPAT_LINUX
-



Home | Main Index | Thread Index | Old Index