From owner-freebsd-hackers@freebsd.org Mon Nov 30 16:22:21 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BCD4A3DD69 for ; Mon, 30 Nov 2015 16:22:21 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6971C43 for ; Mon, 30 Nov 2015 16:22:21 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by padhx2 with SMTP id hx2so189250928pad.1 for ; Mon, 30 Nov 2015 08:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=efXLlduqItDxCUwC0J2fpaVqzXmC6E2T/bznyfYesgs=; b=dHhWDwwUd9Rh9Ap+CT71Ru2dppfR1ynUr6hoRl1xBh0nUJ/zv5EX7PKcP0T/CQlMrR gnIrBf2q//OphJYmDQIn3haKPzB/rAZMZNFQi8T59eiXjz5A3cT+dfoYWVMAbOBWYOtX YyZ5ZzP2B1NvUPMqNCTBj97/uEh+A5HCN5mDd4jhzEMRFJgq+DSAHXp4X1d80e2zsUtn FvoJ8HR8nKyNmr3YVGzUrh6CEI/68St4FFHBg+6brd9OELGFQSaBPZCB2p79pfTqq2B5 q6pE5mwtKJu9MWVYLc80KCd62eIG7iOQej4eWjnVtjaP6NG/dsIubjO96ki88b3ufFRw glwA== X-Received: by 10.66.254.39 with SMTP id af7mr92433069pad.43.1448900540889; Mon, 30 Nov 2015 08:22:20 -0800 (PST) Received: from [192.168.20.11] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id u64sm52220193pfa.89.2015.11.30.08.22.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Nov 2015 08:22:19 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Build only changes From: Garrett Cooper X-Mailer: iPhone Mail (13B143) In-Reply-To: <20151130113712.GA10550@localhost> Date: Mon, 30 Nov 2015 08:22:18 -0800 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20151130113712.GA10550@localhost> To: Alexnader Kuleshov X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2015 16:22:21 -0000 > On Nov 30, 2015, at 03:37, Alexnader Kuleshov wro= te: >=20 > Hello All, >=20 > I'm new in FreeBSD, so my question can be stupid, but I have just executed= > `make buildworld` and it was successful. Now I want to do some little chan= ges > for example in one of `usr.sbin` application. How can I recompile only cha= nged > application? If I'm executing `make buildworld` again, I see that there is= > new long-long-time compilation of the full base. >=20 > I've started to look into the base's Makefiles and tried to execute: >=20 > make buildworld -j4 -DMK_CDDL=3Dno -DMK_KERBEROS=3Dno -DMK_RESCUE=3Dno -DM= K_CRYPT=3Dno > -DMK_TEST=3Dno -DNO_CLEAN=3Dyes -DMK_CLANG_BOOTSTRAP=3Dno -DMK_CLANG=3Dno >=20 > but anyway I see that contrib/llvm/tools/clang/* is compiling. >=20 > Is there ability to compile only one separate dir in the FreeBSD base? Alexnader, If you want to compile just one directory using buildworld and your tree= has already been built, use SUBDIR_OVERRIDE=3Dusr.bin/directory -DNO_CLEAN.= Cheers, -NGie=