Source-Changes-HG archive

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

[src/trunk]: src/sys/lkm/exec Restructure to the lkm/compat/Makefile way - th...



details:   https://anonhg.NetBSD.org/src/rev/0df618ba9792
branches:  trunk
changeset: 516914:0df618ba9792
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Nov 01 19:32:53 2001 +0000

description:
Restructure to the lkm/compat/Makefile way - the tested & installed
modules are on top, rest is added .if !make(install). This will avoid
such silly mistakes as rev. 1.7/1.8.

diffstat:

 sys/lkm/exec/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r ae13f24b0740 -r 0df618ba9792 sys/lkm/exec/Makefile
--- a/sys/lkm/exec/Makefile     Thu Nov 01 19:06:08 2001 +0000
+++ b/sys/lkm/exec/Makefile     Thu Nov 01 19:32:53 2001 +0000
@@ -1,11 +1,13 @@
-#      $NetBSD: Makefile,v 1.10 2001/11/01 13:41:42 tron Exp $
+#      $NetBSD: Makefile,v 1.11 2001/11/01 19:32:53 jdolecek Exp $
 
-# only install actually tested LKMs
-.if make(install)
 .if ${MACHINE} == "i386"
 SUBDIR+=       freebsd_aout freebsd_elf linux_elf svr4_elf
 .endif
-.else # !make(install)
+
+# These are untested, but do compile.  Once they are tested,
+# move them above.
+
+.if !make(install)
 
 .if ${MACHINE} == "alpha"
 SUBDIR+=       linux_aout linux_elf osf1_ecoff
@@ -16,8 +18,7 @@
 .endif
 
 .if ${MACHINE} == "i386"
-SUBDIR+=       aout freebsd_aout freebsd_elf ibcs2_coff ibcs2_elf ibcs2_xout
-SUBDIR+=       linux_aout linux_elf svr4_elf
+SUBDIR+=       aout ibcs2_coff ibcs2_elf ibcs2_xout linux_aout
 .endif
 
 .if ${MACHINE_ARCH} == "m68k"



Home | Main Index | Thread Index | Old Index