diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2002-10-13 18:52:46 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2002-10-13 18:52:46 +0000 |
commit | 38013bd3684f42018ca2278661f08997a72e1e59 (patch) | |
tree | 9177521095beae53441c158b13e277ca27e62b56 /sys/boot | |
parent | f3d92b269c5c966fce6976fa7739a126f48145a7 (diff) | |
download | src-38013bd3684f42018ca2278661f08997a72e1e59.tar.gz src-38013bd3684f42018ca2278661f08997a72e1e59.zip |
Compile in support for zipfs and bzipfs so we can load the gzipped mfsroot
that releases use.
Notes
Notes:
svn path=/head/; revision=105065
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/sparc64/loader/Makefile | 8 | ||||
-rw-r--r-- | sys/boot/sparc64/loader/main.c | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sys/boot/sparc64/loader/Makefile b/sys/boot/sparc64/loader/Makefile index 16f758d8afd5..cb7a8fa0d21c 100644 --- a/sys/boot/sparc64/loader/Makefile +++ b/sys/boot/sparc64/loader/Makefile @@ -16,6 +16,8 @@ LOADER_CD9660_SUPPORT?= yes LOADER_NET_SUPPORT?= yes LOADER_NFS_SUPPORT?= yes LOADER_TFTP_SUPPORT?= yes +LOADER_GZIP_SUPPORT?= yes +LOADER_BZIP2_SUPPORT?= no .if ${LOADER_DISK_SUPPORT} == "yes" CFLAGS+= -DLOADER_DISK_SUPPORT @@ -26,6 +28,12 @@ CFLAGS+= -DLOADER_UFS_SUPPORT .if ${LOADER_CD9660_SUPPORT} == "yes" CFLAGS+= -DLOADER_CD9660_SUPPORT .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" CFLAGS+= -DLOADER_NET_SUPPORT .endif diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index 29f92da0504c..43e3c77ed4ef 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -107,6 +107,12 @@ struct fs_ops *file_system[] = { #ifdef LOADER_CD9660_SUPPORT &cd9660_fsops, #endif +#ifdef LOADER_GZIP_SUPPORT + &zipfs_fsops, +#endif +#ifdef LOADER_BZIP2_SUPPORT + &bzipfs_fsops, +#endif #ifdef LOADER_NET_SUPPORT &nfs_fsops, #endif |