From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 05:58:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8265A16A4CE; Tue, 19 Oct 2004 05:58:45 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBAFA43D39; Tue, 19 Oct 2004 05:58:42 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i9J5waJJ072935; Tue, 19 Oct 2004 07:58:36 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Ruslan Ermilov From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 19 Oct 2004 08:53:33 +0300." <20041019055333.GC90781@ip.net.ua> Date: Tue, 19 Oct 2004 07:58:36 +0200 Message-ID: <72934.1098165516@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current Subject: Re: make release: creating a trimmed down release? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 05:58:45 -0000 In message <20041019055333.GC90781@ip.net.ua>, Ruslan Ermilov writes: >On Tue, Oct 19, 2004 at 12:55:32AM +0200, Roman Neuhauser wrote: >> I'd like to create a trimmed down release, but it looks like >> make release -DNO_CXX ... is not the way to go. What's the official >> way of doing this kind of stuff? Specifically, I've attempted the build >> with >> >Try adding these -DNO*'s to WORLD_FLAGS. No guarantee it will all work, >but chances are good that most of them will work. Look in src/tools/tools/nanobsd, that's a good place to start for such projects. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.