tech-userlevel archive

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

Re: BeastieBox, a (Net)BSD BusyBox-like



On Mon, Dec 8, 2008 at 10:08 AM, Thor Lancelot Simon 
<tls%rek.tjls.com@localhost> wrote:
> On Sat, Dec 06, 2008 at 03:14:04PM +0100, iMil wrote:
>>
>>> Just looking quickly at the code, you can avoid the "#ifdef BBOX
>>> commant_<foo>() #else main() #endif" heavy logic and the
>>> `commonfunc.sh' hack by using nm(1), objcopy(1) and symbol renaming as
>>> done by crunchgen(1).
>>
>> I whish I learned this trick a week ago... I guess I have some
>> "de-porting" to do
>
> In other words, maybe the people who designed crunchgen and /rescue
> actually had some idea what they were doing?
>
> I think it would make a lot more sense to concentrate on:
>
> 1) Clean support for alternate lists of executables to crunch, in the
>   existing build system, so a single build could produce multiple
>   crunched executables without a lot of tedious list maintenance.
>

yes, yes, yes.  I have a definite need for something like:
./build.sh mycrunchuserland=FOO kernel=BAR createsinglefilesystem=TRUE

Matt


Home | Main Index | Thread Index | Old Index