git: 35d217ae021c - stable/13 - stand: Stop building in fat, ext2fs, gzip and bzip to BIOS /boot/loader

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 01 Aug 2024 14:57:32 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=35d217ae021cbbde1e7e02dd7a8534235be5741a

commit 35d217ae021cbbde1e7e02dd7a8534235be5741a
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-07-25 03:15:28 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-08-01 14:51:30 +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
    
    (cherry picked from commit 195a96f0b303345818e09ad1d79dc80122804de8)
---
 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 6657b116be30..f76d33ff4499 100644
--- a/stand/i386/loader/Makefile
+++ b/stand/i386/loader/Makefile
@@ -5,11 +5,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>