diff options
author | kmacy <kmacy@FreeBSD.org> | 2006-10-09 04:58:45 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2006-10-09 04:58:45 +0000 |
commit | a37c943bc52b02965de08225c3f83ab1f4e202e0 (patch) | |
tree | 56e44e7be35fd54d90d63b69003a0fdad40a3f2d /lib/libdisk | |
parent | 8bcce69475321ec2efb620b015847d2538b1ec7f (diff) | |
download | FreeBSD-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/Makefile | 8 |
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 |