diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc index b6c3acfbc21..bf76992f52a 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