Subject: Re: modified crunchgen
To: David Laight <david@l8s.co.uk>
From: Matt Thomas <matt@3am-software.com>
List: tech-userlevel
Date: 11/13/2003 13:17:43
On Nov 13, 2003, at 12:55 PM, David Laight wrote:

> On Fri, Nov 14, 2003 at 05:58:52AM +1100, Simon Burge wrote:
>> On Thu, Nov 13, 2003 at 01:45:33PM -0500, Rafal Boni wrote:
>>> In message <20031113134236.C1838@snowdrop.l8s.co.uk>, you write:
>>>
>>> -> I've modified crunchgen so that it no longer needs to parse each 
>>> program's
>>> -> Makefile to find the list of objects to build.  Instead it relies 
>>> on the
>>> -> program's Makefile having a ${PROG}.ro: ld -r ${OBJS} ${.TARGET} 
>>> rule.
>>
>> I'm not sure I understand this - does each program's normal Makefile
>> that is part of a ramdisk (or any other crunchgen'd program) need to
>> have an entry like you mention above (${PROG}.ro)?
>
> It is in bsd.prog.mk just below the one that generates ${PROG}.
> So none of the usual netbsd makefiles need to be changed.

That assume you are using NetBSD makefile.  Some users don't and this
will break them.
-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this 
message.