summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-10-09 04:58:45 +0000
committerkmacy <kmacy@FreeBSD.org>2006-10-09 04:58:45 +0000
commita37c943bc52b02965de08225c3f83ab1f4e202e0 (patch)
tree56e44e7be35fd54d90d63b69003a0fdad40a3f2d /lib/libdisk
parent8bcce69475321ec2efb620b015847d2538b1ec7f (diff)
downloadFreeBSD-src-a37c943bc52b02965de08225c3f83ab1f4e202e0.zip
FreeBSD-src-a37c943bc52b02965de08225c3f83ab1f4e202e0.tar.gz
buildworld fixes for sun4v
not sure why pmap.c is included as it is unchanged Approved by: rwatson (mentor) Reviewed by: jmg
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libdisk/Makefile b/lib/libdisk/Makefile
index ebc5991..01a7f85 100644
--- a/lib/libdisk/Makefile
+++ b/lib/libdisk/Makefile
@@ -9,7 +9,13 @@ _open_disk= open_disk.c
LIB= disk
SRCS= blocks.c ${_change} chunk.c create_chunk.c disk.c ${_open_disk} \
- rules.c write_disk.c write_${MACHINE}_disk.c
+ rules.c write_disk.c
+.if ${TARGET} == "sun4v"
+SRCS+= write_sparc64_disk.c
+.else
+SRCS+= write_${MACHINE}_disk.c
+.endif
+
INCS= libdisk.h
WARNS?= 2
OpenPOWER on IntegriCloud