Purge multiple kernel opt files.diff -r1.20 -r1.21 src/sys/rump/Makefile.rump
(pooka)
--- src/sys/rump/Makefile.rump 2008/12/30 21:31:10 1.20
+++ src/sys/rump/Makefile.rump 2009/01/01 19:43:57 1.21
@@ -1,32 +1,34 @@ | @@ -1,32 +1,34 @@ | |||
1 | # $NetBSD: Makefile.rump,v 1.20 2008/12/30 21:31:10 pooka Exp $ | 1 | # $NetBSD: Makefile.rump,v 1.21 2009/01/01 19:43:57 pooka Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | WARNS?= 4 | 4 | WARNS?= 4 | |
5 | NOLINT= # kernel code | 5 | NOLINT= # kernel code | |
6 | 6 | |||
7 | .include <bsd.own.mk> | 7 | .include <bsd.own.mk> | |
8 | 8 | |||
9 | # use kernel ABI instead of rump ABI (needs md code) | 9 | # use kernel ABI instead of rump ABI (needs md code) | |
10 | .ifndef(RUMPKMOD) | 10 | .ifndef(RUMPKMOD) | |
11 | CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS} | 11 | CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS} | |
12 | .endif | 12 | .endif | |
13 | 13 | |||
14 | CFLAGS+= -ffreestanding | 14 | CFLAGS+= -ffreestanding | |
15 | CPPFLAGS+= -D_RUMPKERNEL # XXX: this should die | 15 | CPPFLAGS+= -D_RUMPKERNEL # XXX: this should die | |
16 | CPPFLAGS+= -D_KERNEL -DMULTIPROCESSOR -D_MODULE | 16 | CPPFLAGS+= -D_KERNEL -DMULTIPROCESSOR -D_MODULE | |
17 | CPPFLAGS+= -DMAXUSERS=32 | |||
17 | CPPFLAGS+= -DDIAGNOSTIC | 18 | CPPFLAGS+= -DDIAGNOSTIC | |
18 | CPPFLAGS+= -I${.CURDIR} -I. | 19 | CPPFLAGS+= -I${.CURDIR} -I. | |
19 | CPPFLAGS+= -I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch | 20 | CPPFLAGS+= -I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch | |
20 | CPPFLAGS+= -I${RUMPTOP}/include | 21 | CPPFLAGS+= -I${RUMPTOP}/include | |
22 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern/opt | |||
21 | CPPFLAGS+= -nostdinc -I${RUMPTOP}/.. | 23 | CPPFLAGS+= -nostdinc -I${RUMPTOP}/.. | |
22 | #CPPFLAGS+= -DDEBUG | 24 | #CPPFLAGS+= -DDEBUG | |
23 | 25 | |||
24 | RUMPKERNEL= This is NetBSD and I am the rump. Good evening. | 26 | RUMPKERNEL= This is NetBSD and I am the rump. Good evening. | |
25 | 27 | |||
26 | # workaround: evbppc is not a well-defined arch | 28 | # workaround: evbppc is not a well-defined arch | |
27 | .if (${MACHINE} == "evbppc") | 29 | .if (${MACHINE} == "evbppc") | |
28 | CPPFLAGS+= -DPPC_OEA | 30 | CPPFLAGS+= -DPPC_OEA | |
29 | .endif | 31 | .endif | |
30 | 32 | |||
31 | # If an options are changed, trigger a rebuild | 33 | # If an options are changed, trigger a rebuild | |
32 | ${SRCS:S/.c/.o/g}: ${RUMPTOP}/Makefile.rump | 34 | ${SRCS:S/.c/.o/g}: ${RUMPTOP}/Makefile.rump |
--- src/sys/rump/librump/rumpkern/Makefile.rumpkern 2009/01/01 19:07:43 1.27
+++ src/sys/rump/librump/rumpkern/Makefile.rumpkern 2009/01/01 19:43:57 1.28
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.rumpkern,v 1.27 2009/01/01 19:07:43 pooka Exp $ | 1 | # $NetBSD: Makefile.rumpkern,v 1.28 2009/01/01 19:43:57 pooka Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | .include "${RUMPTOP}/Makefile.rump" | 4 | .include "${RUMPTOP}/Makefile.rump" | |
5 | 5 | |||
6 | LIB= rump | 6 | LIB= rump | |
7 | LDFLAGS+= -Wl,--wrap=malloc | 7 | LDFLAGS+= -Wl,--wrap=malloc | |
8 | 8 | |||
9 | .PATH: ${RUMPTOP}/librump/rumpkern \ | 9 | .PATH: ${RUMPTOP}/librump/rumpkern \ | |
10 | ${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern \ | 10 | ${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern \ | |
11 | ${RUMPTOP}/../conf ${RUMPTOP}/../dev \ | 11 | ${RUMPTOP}/../conf ${RUMPTOP}/../dev \ | |
12 | ${RUMPTOP}/../../common/lib/libutil \ | 12 | ${RUMPTOP}/../../common/lib/libutil \ | |
13 | ${RUMPTOP}/../../common/lib/libutil \ | 13 | ${RUMPTOP}/../../common/lib/libutil \ | |
14 | ${RUMPTOP}/../../common/lib/libc/gen \ | 14 | ${RUMPTOP}/../../common/lib/libc/gen \ | |
@@ -59,27 +59,26 @@ SRCS+= snprintb.c rb.c heapsort.c | @@ -59,27 +59,26 @@ SRCS+= snprintb.c rb.c heapsort.c | |||
59 | #CPPFLAGS+= -DRUMP_USE_REAL_KMEM | 59 | #CPPFLAGS+= -DRUMP_USE_REAL_KMEM | |
60 | #SRCS+= subr_kmem.c subr_vmem.c | 60 | #SRCS+= subr_kmem.c subr_vmem.c | |
61 | 61 | |||
62 | .if ${MACHINE_ARCH} == "vax" | 62 | .if ${MACHINE_ARCH} == "vax" | |
63 | .PATH: ${RUMPTOP}/../lib/libkern/arch/vax | 63 | .PATH: ${RUMPTOP}/../lib/libkern/arch/vax | |
64 | SRCS+= blkset.S | 64 | SRCS+= blkset.S | |
65 | .endif | 65 | .endif | |
66 | 66 | |||
67 | # no shlib_version because this is automatically in sync with lib/librump | 67 | # no shlib_version because this is automatically in sync with lib/librump | |
68 | SHLIB_MAJOR= 0 | 68 | SHLIB_MAJOR= 0 | |
69 | SHLIB_MINOR= 0 | 69 | SHLIB_MINOR= 0 | |
70 | 70 | |||
71 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern | 71 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern | |
72 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern/opt -DMAXUSERS=32 | |||
73 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpnet -I${RUMPTOP}/librump/rumpvfs | 72 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpnet -I${RUMPTOP}/librump/rumpvfs | |
74 | CFLAGS+= -Wno-pointer-sign | 73 | CFLAGS+= -Wno-pointer-sign | |
75 | 74 | |||
76 | # | 75 | # | |
77 | # If archdir exists, it is required to provide: | 76 | # If archdir exists, it is required to provide: | |
78 | # 1) kobj_reloc() and kobj_machdep() | 77 | # 1) kobj_reloc() and kobj_machdep() | |
79 | # 2) ...? | 78 | # 2) ...? | |
80 | # 3) PROFIT! | 79 | # 3) PROFIT! | |
81 | # | 80 | # | |
82 | ARCHDIR= ${RUMPTOP}/librump/rumpkern/arch/${MACHINE_ARCH} | 81 | ARCHDIR= ${RUMPTOP}/librump/rumpkern/arch/${MACHINE_ARCH} | |
83 | .if exists(${ARCHDIR}) | 82 | .if exists(${ARCHDIR}) | |
84 | .include "${ARCHDIR}/Makefile.inc" | 83 | .include "${ARCHDIR}/Makefile.inc" | |
85 | .PATH: ${ARCHDIR} | 84 | .PATH: ${ARCHDIR} |
--- src/sys/rump/librump/rumpkern/opt/Attic/opt_ddb.h 2007/08/08 09:06:13 1.1
+++ src/sys/rump/librump/rumpkern/opt/Attic/opt_ddb.h 2009/01/01 19:43:57 1.2
/* $NetBSD: opt_ipkdb.h,v 1.1 2009/01/01 19:43:57 pooka Exp $ */
/* dummy */
--- src/sys/rump/librump/rumpnet/opt/Attic/arp.h 2008/10/15 13:00:40 1.1
+++ src/sys/rump/librump/rumpnet/opt/Attic/arp.h 2009/01/01 19:43:57 1.2
--- src/sys/rump/librump/rumpvfs/Makefile.rumpvfs 2008/12/19 00:57:24 1.2
+++ src/sys/rump/librump/rumpvfs/Makefile.rumpvfs 2009/01/01 19:43:57 1.3
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.rumpvfs,v 1.2 2008/12/19 00:57:24 pooka Exp $ | 1 | # $NetBSD: Makefile.rumpvfs,v 1.3 2009/01/01 19:43:57 pooka Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | .include "${RUMPTOP}/Makefile.rump" | 4 | .include "${RUMPTOP}/Makefile.rump" | |
5 | 5 | |||
6 | LIB= rumpvfs | 6 | LIB= rumpvfs | |
7 | 7 | |||
8 | .PATH: ${RUMPTOP}/librump/rumpvfs \ | 8 | .PATH: ${RUMPTOP}/librump/rumpvfs \ | |
9 | ${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern \ | 9 | ${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern \ | |
10 | ${RUMPTOP}/../miscfs/genfs ${RUMPTOP}/../miscfs/syncfs | 10 | ${RUMPTOP}/../miscfs/genfs ${RUMPTOP}/../miscfs/syncfs | |
11 | 11 | |||
12 | # | 12 | # | |
13 | # Source modules, first the ones specifically implemented for librump. | 13 | # Source modules, first the ones specifically implemented for librump. | |
14 | # | 14 | # | |
@@ -24,19 +24,18 @@ SRCS+= vfs_bio.c vfs_cache.c vfs_cwd.c v | @@ -24,19 +24,18 @@ SRCS+= vfs_bio.c vfs_cache.c vfs_cwd.c v | |||
24 | # sys/miscfs | 24 | # sys/miscfs | |
25 | SRCS+= genfs_vfsops.c genfs_vnops.c sync_subr.c | 25 | SRCS+= genfs_vfsops.c genfs_vnops.c sync_subr.c | |
26 | 26 | |||
27 | # sys/kern bufq | 27 | # sys/kern bufq | |
28 | SRCS+= subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c \ | 28 | SRCS+= subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c \ | |
29 | bufq_readprio.c | 29 | bufq_readprio.c | |
30 | 30 | |||
31 | SRCS+= rumpvnode_if.c | 31 | SRCS+= rumpvnode_if.c | |
32 | 32 | |||
33 | # no shlib_version because this is automatically in sync with lib/librump | 33 | # no shlib_version because this is automatically in sync with lib/librump | |
34 | SHLIB_MAJOR= 0 | 34 | SHLIB_MAJOR= 0 | |
35 | SHLIB_MINOR= 0 | 35 | SHLIB_MINOR= 0 | |
36 | 36 | |||
37 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern/opt -DMAXUSERS=32 | |||
38 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern | 37 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern | |
39 | CFLAGS+= -Wno-pointer-sign | 38 | CFLAGS+= -Wno-pointer-sign | |
40 | 39 | |||
41 | .include <bsd.lib.mk> | 40 | .include <bsd.lib.mk> | |
42 | .include <bsd.klinks.mk> | 41 | .include <bsd.klinks.mk> |
--- src/sys/rump/net/lib/Makefile.inc 2008/10/02 21:59:19 1.1
+++ src/sys/rump/net/lib/Makefile.inc 2009/01/01 19:43:58 1.2
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | # $NetBSD: Makefile.inc,v 1.1 2008/10/02 21:59:19 pooka Exp $ | 1 | # $NetBSD: Makefile.inc,v 1.2 2009/01/01 19:43:58 pooka Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | RUMPTOP= ${.CURDIR}/../../.. | 4 | RUMPTOP= ${.CURDIR}/../../.. | |
5 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpnet/opt | |||
5 | 6 | |||
6 | .include "${RUMPTOP}/Makefile.rump" | 7 | .include "${RUMPTOP}/Makefile.rump" |