summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>1998-10-09 23:30:16 +0000
committerrnordier <rnordier@FreeBSD.org>1998-10-09 23:30:16 +0000
commitadfacacde6c573d15cc4dc72f3ab4c68bc49de6a (patch)
treebab3e6b81e00c562acde932a5f63e233931a12c3 /sys
parent0ece9ad76db57ea3321bf5e0c6c57fbde23ddda3 (diff)
downloadFreeBSD-src-adfacacde6c573d15cc4dc72f3ab4c68bc49de6a.zip
FreeBSD-src-adfacacde6c573d15cc4dc72f3ab4c68bc49de6a.tar.gz
Turn off the new /sys/boot stuff (except boot0) unless OBJFORMAT
is elf. (The BTX client must be ELF, though it is packaged as a.out for compatibility.)
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/i386/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/boot/i386/Makefile b/sys/boot/i386/Makefile
index f196cd5..e63d63d 100644
--- a/sys/boot/i386/Makefile
+++ b/sys/boot/i386/Makefile
@@ -1,3 +1,7 @@
-SUBDIR= boot0 btx libi386 loader
+SUBDIR= boot0
+
+.if ${OBJFORMAT} == elf
+SUBDIR+= btx libi386 loader
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud