git: 195a96f0b303 - main - stand: Stop building in fat, ext2fs, gzip and bzip to BIOS /boot/loader
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jul 2024 03:18:38 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=195a96f0b303345818e09ad1d79dc80122804de8
commit 195a96f0b303345818e09ad1d79dc80122804de8
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-07-25 03:15:28 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-07-25 03:15:28 +0000
stand: Stop building in fat, ext2fs, gzip and bzip to BIOS /boot/loader
This saves space to allow pxeboot to work again. Users desiring these
features can turn them on for their custom build. While these are useful
for some specialized applications, they aren't needed to boot the
typical system, and we're low on space.
text data bss dec hex filename
Before: 465866 20740 31612 518218 0x7e84a loader_lua.bin
After: 441535 17484 31092 490111 0x77a7f loader_lua.bin
Savings: 28,107 bytes
Sponsored by: Netflix
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D42416
---
stand/i386/loader/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile
index ab446d67225b..a4aa3a3c4d45 100644
--- a/stand/i386/loader/Makefile
+++ b/stand/i386/loader/Makefile
@@ -4,11 +4,11 @@ LOADER_NET_SUPPORT?= yes
LOADER_NFS_SUPPORT?= yes
LOADER_TFTP_SUPPORT?= yes
LOADER_CD9660_SUPPORT?= yes
-LOADER_EXT2FS_SUPPORT?= yes
-LOADER_MSDOS_SUPPORT?= yes
+LOADER_EXT2FS_SUPPORT?= no
+LOADER_MSDOS_SUPPORT?= no
LOADER_UFS_SUPPORT?= yes
-LOADER_GZIP_SUPPORT?= yes
-LOADER_BZIP2_SUPPORT?= yes
+LOADER_GZIP_SUPPORT?= no
+LOADER_BZIP2_SUPPORT?= no
.include <bsd.init.mk>