Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 08:48:45 +0100 (CET)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        small@freebsd.org
Cc:        msmith@freebsd.org, grog@freebsd.org, abial@freebsd.org, dwhite@freebsd.org
Subject:   smaller loader for picobsd...
Message-ID:  <200001200748.IAA10306@info.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
Hi,
the attached patch to /usr/src/sys/boot/i386/loader/Makefile
will let us save some 20KB on /boot/loader.gz to be installed
on PicoBSD floppies.
The question to Mike or other release gurus is how to
request the compilation of "loader" without FICL support
from the picobsd Makefile/build scripts.

	cheers
	luigi

For the curious, this is what we have now:

	# ls -l boot
	total 61
	-rwxr-xr-x  1 root  wheel  53650 Jan 20 07:30 loader
	-rw-r--r--  1 root  wheel     40 Jan 20 07:30 loader.rc


prova# diff -ubwr Makefile.34R Makefile
--- Makefile.34R        Sun Aug 29 18:21:06 1999
+++ Makefile    Thu Jan 20 08:18:15 2000
@@ -16,15 +16,6 @@
 HAVE_PNP=      yes
 HAVE_ISABUS=   yes
 
-# Enable BootForth
-BOOT_FORTH=    yes
-CFLAGS+=       -DBOOT_FORTH -I${.CURDIR}/../../ficl
-.if exists(${.OBJDIR}/../../ficl/libficl.a)
-LIBFICL=       ${.OBJDIR}/../../ficl/libficl.a
-.else
-LIBFICL=       ${.CURDIR}/../../ficl/libficl.a
-.endif
-
 # Always add MI sources 
 .PATH:         ${.CURDIR}/../../common
 .include       <${.CURDIR}/../../common/Makefile.inc>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001200748.IAA10306>