From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 17 16:38:26 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F30FDD48 for ; Mon, 17 Jun 2013 16:38:25 +0000 (UTC) (envelope-from benjamin.villain@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 8F45810DF for ; Mon, 17 Jun 2013 16:38:25 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id m6so2516880wiv.2 for ; Mon, 17 Jun 2013 09:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=drpHfdTc4mi04QL5lDJtWzEqNyj9YoKNAhRl+sYe9Ng=; b=B7K+q8scWlPLLF3bx7OFaalwiLm4j5H1dpLHvtaAM1sJ7juRY5KM4H0ApSFffgMUxk dlVuG5A8XntrIfIhV/YoE2Alv2DDF80JlXSk+odU3gsUCZMu6YPqG7kimWCwCmFqRzET XeKfIuzSjSyNg1MESVwtN67WNr7r4XAgbSh1hzVJKdgqj5w40ADV40TULgGCbHDv9MEY JYJXKwosM6q92cBxSeGTSb7y2pHTwjVtpQmnfzpxiixk01SVhYgvKhl3sYXS9faabTEG v7NTHYk3lKBL16aLcUz0c0eLqWqb5l70bEy9kROLb0xzrrmFbXKZAkFtU3o+a742s7kL 2DXQ== MIME-Version: 1.0 X-Received: by 10.180.14.2 with SMTP id l2mr5304709wic.48.1371487104636; Mon, 17 Jun 2013 09:38:24 -0700 (PDT) Received: by 10.194.2.212 with HTTP; Mon, 17 Jun 2013 09:38:24 -0700 (PDT) In-Reply-To: <20130617154216.147010@gmx.com> References: <20130617154216.147010@gmx.com> Date: Mon, 17 Jun 2013 18:38:24 +0200 Message-ID: Subject: Re: how do I build a single app? From: Benjamin VILLAIN To: david.lee.tn@programmer.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 16:38:26 -0000 Hi David, The prefered way would be to run a buildworld (make buildworld) which will build all apps on /usr/src/ except the kernel itself. Then if you modify any app, the make will only rebuild your modified binary. Then make installworld will install all the apps at the correct place. Cheers, -- Ben On Mon, Jun 17, 2013 at 5:42 PM, wrote: > Hi, > > I installed FreeBSD into a VirtualBox VM in January and started playing > with the code. I must complement you people on the clarity of your code. > I've enjoyed examining it. > > I wanted to try some code changes to some of the apps in the /bin > directory, but can't figure out how to build a single app, or even build a > single set of apps, like /usr/src/bin, /usr/src/sbin, /usr/src/usr.bin, or > /usr/src/usr.sbin. Is there a way to do this, or do I just have to create > my own Makefiles for each app I am experimenting on? > > If this is the wrong place to ask this question, I appologize and ask you > to direct me to a mailing list that would be the appropriate place to ask > this. > > Sincerely, > > David Lee from Tennessee > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >