aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/common
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc
index b6c3acfbc2197..bf76992f52a75 100644
--- a/sys/boot/common/Makefile.inc
+++ b/sys/boot/common/Makefile.inc
@@ -1,9 +1,13 @@
# $FreeBSD$
SRCS+= bcache.c boot.c commands.c console.c devopen.c interp.c
-SRCS+= interp_backslash.c interp_parse.c load_aout.c load_elf.c ls.c misc.c
+SRCS+= interp_backslash.c interp_parse.c load_elf.c ls.c misc.c
SRCS+= module.c panic.c
+.if defined(LOADER_AOUT_SUPPORT)
+SRCS+= load_aout.c
+.endif
+
.if defined(LOADER_NET_SUPPORT)
SRCS+= dev_net.c
.endif