Subject: Re: Changes to crunchgen
To: Frederick Bruckman <fredb@immanent.net>
From: James Chacon <jchacon@genuity.net>
List: tech-ports
Date: 10/03/2001 18:02:41
Thats tougher since a lot of the floppies use the same ramdisk images but
different kernels or vice-versa.
But probably worth taking a look at.
James
>
>On Wed, 3 Oct 2001, James Chacon wrote:
>
>> With the recent toolchain changes (USE_NEW_TOOLCHAIN) and some recent changes
>> to crunchgen a major deficiency crops up in how crunchgen works today.
>>
>> It attempts to use the current object files (if they exist) to build the
>> crunched image. Well, this is bad since most of those were built with
>> optimizing cflags (i.e -O2) instead of something which tries to produce the
>> smallest code possible (-Os or equiv).
>
>> Generate a makefile by default that does all object file builds in local
>> subdirs by binary (i.e. bad144 gets built in $OBJDIR/bad144) via a reach over
>> make. (Sets .PATH and .CURDIR and does a make for the objects needed in that
>> dir).
>
>...and say goodbye to snapshots polluted with crunched objects. Yes!
>
>It would be great, too, if there were a single top-level target to
>make the floppies, without having to build the whole tree first.
>
>Frederick
>
>
>
>
>