summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-11-02 00:26:45 +0000
committermarcel <marcel@FreeBSD.org>2006-11-02 00:26:45 +0000
commit342a196627392c808be27a4df1e402e127c19a0a (patch)
tree47949f724fc6abd132515557c85706342b9f7e4d /sys/boot/i386
parente9bd2a214c5d2115ed906a577a04c8f71f8cae85 (diff)
downloadFreeBSD-src-342a196627392c808be27a4df1e402e127c19a0a.zip
FreeBSD-src-342a196627392c808be27a4df1e402e127c19a0a.tar.gz
Don't unconditionally compile-in the bcache code. It's only used on
i386/amd64 and pc98. Remove useless calls to bcache_init() from the ia64 and sparc64 loaders, as well as from the OFW common code.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/loader/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index 6b260fa..ce9b2c1 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -16,6 +16,9 @@ CFLAGS+= -DLOADER_TFTP_SUPPORT
CFLAGS+= -DLOADER_NFS_SUPPORT
.endif
+# Include bcache code.
+HAVE_BCACHE= yes
+
# Enable PnP and ISA-PnP code.
HAVE_PNP= yes
HAVE_ISABUS= yes
OpenPOWER on IntegriCloud