Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Update dependencies for COMPAT_LINUX32 to include C...



details:   https://anonhg.NetBSD.org/src/rev/77ae04e2de46
branches:  trunk
changeset: 348671:77ae04e2de46
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Nov 01 22:54:33 2016 +0000

description:
Update dependencies for COMPAT_LINUX32 to include COMPAT_NETBSD32

Without this, an attempt to build a kernel with COMPAT_LINUX32 but without
COMPAT_NETBSD32 will fail during the execution of genassym, and the error
messages are not very helpful.

With this change, config(1) will automatically (and silently) select/add
COMPAT_NETBSD32 to the configuration.  It might be better if config(1)
were to issue an appropriate diagnostic, but that is a change for some
future day.

diffstat:

 sys/conf/files |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 1f7b29df7701 -r 77ae04e2de46 sys/conf/files
--- a/sys/conf/files    Tue Nov 01 21:56:11 2016 +0000
+++ b/sys/conf/files    Tue Nov 01 22:54:33 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.1164 2016/09/09 21:10:01 christos Exp $
+#      $NetBSD: files,v 1.1165 2016/11/01 22:54:33 pgoyette Exp $
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
 version        20150846
@@ -149,12 +149,12 @@
 defflag                                COMPAT_FREEBSD: COMPAT_30
 defflag                                COMPAT_IBCS2
 defflag                                COMPAT_LINUX: COMPAT_16
-defflag                                COMPAT_LINUX32 : COMPAT_LINUX
 defflag                                COMPAT_OSF1
 defflag                                COMPAT_SUNOS: COMPAT_30
 defflag        opt_compat_svr4.h       COMPAT_SVR4 COMPAT_SVR4_32 SVR4_COMPAT_SOLARIS2
 defflag                                COMPAT_ULTRIX: COMPAT_50
 defflag                                COMPAT_NETBSD32
+defflag                                COMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32
 defflag                                COMPAT_AOUT_M68K: COMPAT_40
 defflag                                COMPAT_M68K4K
 defflag                                COMPAT_VAX1K



Home | Main Index | Thread Index | Old Index