Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2002 11:14:02 -0800
From:      "Chuck T." <freebsdfan@hotmail.com>
To:        freebsd-small@FreeBSD.ORG
Subject:   crunchgen bug ?
Message-ID:  <F215rAuWiqJmdTcjJxW0000418d@hotmail.com>

next in thread | raw e-mail | index | archive | help
I'm trying to override a makefile by putting a makefile.<prog> in
the directory I'm running crunchgen from, but I'm not having any luck.
I think this might be caused by a crunchgen bug.

Specifically I'm building a PicoBSD based firewall that includes ppp.
I've set RELEASE_CRUNCH in my main crunch.conf file to minimize the
footprint of the programs in the crunch, but this causes PPP to drop NAT
support which I need.  Since I didn't want to modify the release Makefile
I  copied the Makefile into my build directory, modified it and renamed it
Makefile.ppp.

When I run crunchgen it reports "[Using Makefile.ppp for ppp], but
the generated makefile for the crunch has no references to
Makefile.ppp.  I've looked at the crunchgen code (4.5-release) and it
appears that Makefile.<prog> discovered in fillin_program() is only
passed to fillin_program_objs() to create the OBJS list.  Neither
fillin_program() nor fillin_program_objs() seem to save the path to
Makefile.<prog> for later use.

Any words of wisdom would be most welcome !



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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?F215rAuWiqJmdTcjJxW0000418d>