Compile in support for zipfs and bzipfs so we can load the gzipped mfsroot

that releases use.
This commit is contained in:
Jake Burkholder 2002-10-13 18:52:46 +00:00
parent f3d92b269c
commit 38013bd368
2 changed files with 14 additions and 0 deletions

View File

@ -16,6 +16,8 @@ LOADER_CD9660_SUPPORT?= yes
LOADER_NET_SUPPORT?= yes LOADER_NET_SUPPORT?= yes
LOADER_NFS_SUPPORT?= yes LOADER_NFS_SUPPORT?= yes
LOADER_TFTP_SUPPORT?= yes LOADER_TFTP_SUPPORT?= yes
LOADER_GZIP_SUPPORT?= yes
LOADER_BZIP2_SUPPORT?= no
.if ${LOADER_DISK_SUPPORT} == "yes" .if ${LOADER_DISK_SUPPORT} == "yes"
CFLAGS+= -DLOADER_DISK_SUPPORT CFLAGS+= -DLOADER_DISK_SUPPORT
@ -26,6 +28,12 @@ CFLAGS+= -DLOADER_UFS_SUPPORT
.if ${LOADER_CD9660_SUPPORT} == "yes" .if ${LOADER_CD9660_SUPPORT} == "yes"
CFLAGS+= -DLOADER_CD9660_SUPPORT CFLAGS+= -DLOADER_CD9660_SUPPORT
.endif .endif
.if ${LOADER_GZIP_SUPPORT} == "yes"
CFLAGS+= -DLOADER_GZIP_SUPPORT
.endif
.if ${LOADER_BZIP2_SUPPORT} == "yes"
CFLAGS+= -DLOADER_BZIP2_SUPPORT
.endif
.if ${LOADER_NET_SUPPORT} == "yes" .if ${LOADER_NET_SUPPORT} == "yes"
CFLAGS+= -DLOADER_NET_SUPPORT CFLAGS+= -DLOADER_NET_SUPPORT
.endif .endif

View File

@ -107,6 +107,12 @@ struct fs_ops *file_system[] = {
#ifdef LOADER_CD9660_SUPPORT #ifdef LOADER_CD9660_SUPPORT
&cd9660_fsops, &cd9660_fsops,
#endif #endif
#ifdef LOADER_GZIP_SUPPORT
&zipfs_fsops,
#endif
#ifdef LOADER_BZIP2_SUPPORT
&bzipfs_fsops,
#endif
#ifdef LOADER_NET_SUPPORT #ifdef LOADER_NET_SUPPORT
&nfs_fsops, &nfs_fsops,
#endif #endif