diff options
author | marcel <marcel@FreeBSD.org> | 2006-11-02 00:26:45 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-11-02 00:26:45 +0000 |
commit | 342a196627392c808be27a4df1e402e127c19a0a (patch) | |
tree | 47949f724fc6abd132515557c85706342b9f7e4d /sys/boot/common | |
parent | e9bd2a214c5d2115ed906a577a04c8f71f8cae85 (diff) | |
download | FreeBSD-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/common')
-rw-r--r-- | sys/boot/common/Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc index bc18830..753d112 100644 --- a/sys/boot/common/Makefile.inc +++ b/sys/boot/common/Makefile.inc @@ -1,6 +1,6 @@ # $FreeBSD$ -SRCS+= bcache.c boot.c commands.c console.c devopen.c interp.c +SRCS+= boot.c commands.c console.c devopen.c interp.c SRCS+= interp_backslash.c interp_parse.c ls.c misc.c SRCS+= module.c panic.c @@ -19,6 +19,10 @@ SRCS+= load_elf64.c reloc_elf64.c SRCS+= dev_net.c .endif +.if defined(HAVE_BCACHE) +SRCS+= bcache.c +.endif + # Machine-independant ISA PnP .if defined(HAVE_ISABUS) SRCS+= isapnp.c |