Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bloat of install ramdisk?



> It looks like I'll have to do a CVS time-travel to figure this
> one out.

It turns out the following change to usr.bin/eject/Makefile was
responsible for this bloat (pulls in amd/xdr/rpc stuff):

revision 1.7
date: 2009/03/23 04:00:44;  author: christos;  state: Exp;  lines: +7 -3
turn on amd support for eject now that we have it. From Anon Ymous

The size before this change:

-rwxr-xr-x  1 he  wheel  671160 Mar 28 12:26 ramdisk.old/ramdiskbin*

With the above change:

-rwxr-xr-x  1 he  wheel  738972 Mar 27 10:32 ramdisk.new/ramdiskbin*

Additionally, with the patch below, we're back to normal:

-rwxr-xr-x  1 he  wheel  671160 Mar 28 12:48 ramdisk/ramdiskbin*

Index: Makefile
===================================================================
RCS file: /cvsroot/src/usr.bin/eject/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    23 Mar 2009 04:00:44 -0000      1.7
+++ Makefile    28 Mar 2009 11:51:32 -0000
@@ -2,7 +2,9 @@
 
 .include <bsd.own.mk>
 
+.if !defined(CRUNCHEDPROG)
 AMD_SUPPORT?=yes
+.endif
 
 PROG=  eject
 SRCS=  eject.c

Is there a better symbol to key this on?

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index