Date: Mon, 16 Nov 1998 20:35:07 +0100 (CET) From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> To: Thomas Zenker <thz@Lennartz-Electronic.DE> Cc: small@FreeBSD.ORG Subject: RE: "make" for small/modified systems Message-ID: <XFMail.981116203507.asmodai@wxs.nl> In-Reply-To: <19981116151726.A21210@tue.le>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16-Nov-98 Thomas Zenker wrote: > Hi, Hello =) > is this forum for Pico only or for issues concerning all small > FreeBSD derived systems? All small derived systems... Although the picoBSD'ers use it as `their' playground ;) > Anyway. I use FreeBSD for a relatively small (not as small as > picoBSD :-) embedded system (around 12Mb binaries). Development > tools and programs not really necessary to run and maintain a unix > system are ripped off. To gain lots of space all programs on /, > apart of sh, init and ldconfig, are linked against shared libs > located in /lib. All the shared libraries, needed by the programs > in /bin & /sbin are put there. This needs modifications in to crt.o, > ld.so ... (speaking a.out so far) What ye do to the /etc and /dev entries in / ? Just curious... > Now, to administer the changed parts and have the possibility to do > "make world" independent of the standard source tree I have patched > make to have the possibility to do a "three directories make": > .CURDIR, .OBJDIR and sources in .SRCDIR Cool... If ye are cvsupping CURRENT, ye have no doubt seen the picobsd entry ;) At least ye have the makefiles *G* (Hey Andrzej, mayhaps we oughtta get him to work on the files ;) > This way I have duplicated the source tree hierarchie with the > Makefiles and modified source files. This is my .CURDIR tree - > the one where I do the make. .SRCDIR points to the corresponding > dir in the source tree, so I have to change some of the references > to ${.CURDIR} in the original Makefiles to ${.SRCDIR}. > > Source files in .CURDIR take precedence over the files in .SRCDIR > allowing to maintain modified sources locally. .SRCDIR is set similar > as .OBJDIR by environment variables. We simply link to CURRENT with our own sources afaik... =) > Is there anybody, who has done similar things or is interrested in > discussing this. The patch to make is rather small, does no harm > with the environment variables not set. If anybody is interrested, > drop me a mail. Well, I don't know if ye caught my mail, but I was suggesting some sort of modular set-up for picoBSD. Mayhaps ye like to colaborate? (Or we could try to convert him to `our' belief... Terry might want to try his seducing ways =P ) --- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl | Cum angelis et pueris, Junior Network/Security Specialist | fideles inveniamur *BSD & picoBSD: The Power to Serve... <http://www.freebsd.org> 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?XFMail.981116203507.asmodai>