From owner-freebsd-hackers@freebsd.org Mon Nov 30 11:39:47 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 E866CA24F72 for ; Mon, 30 Nov 2015 11:39:47 +0000 (UTC) (envelope-from kuleshovmail@gmail.com) Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 71879160C for ; Mon, 30 Nov 2015 11:39:47 +0000 (UTC) (envelope-from kuleshovmail@gmail.com) Received: by lfdl133 with SMTP id l133so191769843lfd.2 for ; Mon, 30 Nov 2015 03:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=y8DC7Zriyw6Qk0/DbfDKQEhb0xkeNgujYp0jTewhuic=; b=vIr5Rbz66UAM3qSIHP2gGYurWfuQA4/AQTk3OtrBgDbCSAjVKTGmhLI529jBXTxUnB ZaVQ6bC1AELSEti+1c5MULogi2Rt5qeMcKUt8PJvoNI+d0GLJVCjoyL+fFvtYI+ENbng ugvXy7M1kHCCDphzb5N6fNBgxaHl75mtcaRoe6WbEvA8UtauxfQ8lSasxF5ZTq4K3zK4 NHPwYahT5HLW3Mgd/Qz2ybqQVhep+rKP+er4H3E0kSRp8gT8a9ze6xxT4siza44LCHLR fjJAs1QS6S89XQKmogMRSw+2zTx7abbZbKE/ynzBHs+jNSoKkjMpHiTX+46pu/9Bt5ID vVgg== X-Received: by 10.25.7.8 with SMTP id 8mr19914881lfh.111.1448883585261; Mon, 30 Nov 2015 03:39:45 -0800 (PST) Received: from localhost ([147.30.75.242]) by smtp.gmail.com with ESMTPSA id a75sm7390900lfe.34.2015.11.30.03.39.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Nov 2015 03:39:44 -0800 (PST) Date: Mon, 30 Nov 2015 17:37:12 +0600 From: Alexnader Kuleshov To: freebsd-hackers@freebsd.org Subject: Build only changes Message-ID: <20151130113712.GA10550@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD X-Date: Mon Nov 30 17:29:36 ALMT 2015 User-Agent: Mutt/1.6.0-rc0 ((null)) 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 11:39:48 -0000 Hello All, 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 changes for example in one of `usr.sbin` application. How can I recompile only changed application? If I'm executing `make buildworld` again, I see that there is new long-long-time compilation of the full base. I've started to look into the base's Makefiles and tried to execute: make buildworld -j4 -DMK_CDDL=no -DMK_KERBEROS=no -DMK_RESCUE=no -DMK_CRYPT=no -DMK_TEST=no -DNO_CLEAN=yes -DMK_CLANG_BOOTSTRAP=no -DMK_CLANG=no but anyway I see that contrib/llvm/tools/clang/* is compiling. Is there ability to compile only one separate dir in the FreeBSD base? Thank you.