From owner-freebsd-small Mon Nov 16 11:31:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25648 for freebsd-small-outgoing; Mon, 16 Nov 1998 11:31:20 -0800 (PST) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from smtp01.wxs.nl (smtp01.wxs.nl [195.121.6.61]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA25602 for ; Mon, 16 Nov 1998 11:31:09 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from chronias.ninth-circle.org ([195.121.58.8]) by smtp01.wxs.nl (Netscape Messaging Server 3.6) with ESMTP id AAA1DCA; Mon, 16 Nov 1998 20:30:42 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19981116151726.A21210@tue.le> Date: Mon, 16 Nov 1998 20:35:07 +0100 (CET) Organization: Ninth Circle Enterprises From: Jeroen Ruigrok/Asmodai To: Thomas Zenker Subject: RE: "make" for small/modified systems Cc: small@FreeBSD.ORG Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message