Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libdisk Build proper version for i386 (sinc...
details: https://anonhg.NetBSD.org/src/rev/05c3eaed50fd
branches: trunk
changeset: 747943:05c3eaed50fd
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Oct 06 09:12:47 2009 +0000
description:
Build proper version for i386 (since it works) and dummy versions
for the rest until the disklabel MD problems get sorted out.
diffstat:
sys/rump/dev/lib/libdisk/Makefile | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 4cd624fb671d -r 05c3eaed50fd sys/rump/dev/lib/libdisk/Makefile
--- a/sys/rump/dev/lib/libdisk/Makefile Tue Oct 06 08:47:59 2009 +0000
+++ b/sys/rump/dev/lib/libdisk/Makefile Tue Oct 06 09:12:47 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/09/11 19:01:08 pooka Exp $
+# $NetBSD: Makefile,v 1.4 2009/10/06 09:12:47 pooka Exp $
#
.PATH: ${.CURDIR}/../../../../kern \
@@ -6,13 +6,19 @@
LIB= rumpdev_disk
+#
+# XXX: not all platforms support this for now, since disklabel contains
+# some MD weirdosities. Enable only on i386. Rest of the platforms
+# get a dummy implementation (due to it being easier with setlists).
+
+.if ${MACHINE} == "i386"
# sys/kern
-#SRCS= kern_physio.c subr_disk.c subr_disk_mbr.c subr_disk_open.c
-
+SRCS= kern_physio.c subr_disk.c subr_disk_mbr.c subr_disk_open.c
# sys/dev
-#SRCS+= dksubr.c dk.c
-
+SRCS+= dksubr.c dk.c
+.else
SRCS+= dummy.c
+.endif
CFLAGS+= -Wno-pointer-sign
Home |
Main Index |
Thread Index |
Old Index