From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 27 17:22:52 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C343A495 for ; Thu, 27 Mar 2014 17:22:52 +0000 (UTC) Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96D43C32 for ; Thu, 27 Mar 2014 17:22:52 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id uo5so3785040pbc.38 for ; Thu, 27 Mar 2014 10:22:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=tJwBtgSRki/Y6fqlx8NtNrkUfTb5Wd1lT1DOqIa9wbM=; b=FhYtcVo8Yy3/23vved1V1EX0C4fkSWBbrmdi0LQJqopw0lycf4BPcRwfk1FHaSACfz YlAtJIi4pQ8jPeEtx/G8PxdY3nDT2QRsUWPCKtxMQ2vWFLKO+2d3UFr55zwVeW09HyZn rwFI3n1AGwxZq9ZOBY4Mq0HGRYod2YpPMJRsK1G40PIE+MG0iXlf7UdbNV865T1/SeED k80Z9IP64XiMvuThPnjDgmVRyZbIwVibekImsvG0BagRzKgvFUzbj+Vew7dR2Gu2Ztse wMJ237hrnN7Si2LLMqO2WmH4pp6Acb8xo9MfE21aF5VxpuVUMaeLwFjtVV/bPURCYaX4 u8Sw== X-Gm-Message-State: ALoCoQksU5j5PizG2OelfWnqBdVRFLtu5FWMtxDKHfNC0UmhwlhSNdjMdr1pOsmvTz7sV68Dd5H6 X-Received: by 10.66.171.76 with SMTP id as12mr3207399pac.52.1395940971830; Thu, 27 Mar 2014 10:22:51 -0700 (PDT) Received: from [10.64.26.19] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id it4sm11492739pbd.48.2014.03.27.10.22.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Mar 2014 10:22:51 -0700 (PDT) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Rebuilding the kernel From: Warner Losh In-Reply-To: <635e54816f302acb5cf9b175d80d1bd9@rdsor.ro> Date: Thu, 27 Mar 2014 11:22:49 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <28030113-7736-474C-97A8-1461100B2DF6@bsdimp.com> References: <635e54816f302acb5cf9b175d80d1bd9@rdsor.ro> To: dan_partelly X-Mailer: Apple Mail (2.1874) Cc: freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 17:22:52 -0000 On Mar 27, 2014, at 11:15 AM, dan_partelly = wrote: > Hi all, >=20 > Id like to know what is the proper procedure for rebuilding the = FreeBSD > kernel manually, to force it to to recompile only the=20 > changed files and dependencies and then link the beast, and not a full > build with make buildkernel. Also, is there a place where > the system makefiles and the manual procedures for buidling the = kernel, > crosscompile, etc are documented ? If you=92ve done a previous =91make buildkernel=92 then you can make = changes and rebuild only the changed bits by adding =91KERNFAST=3DXXX=92 where you would have had =91KERNCONF=3DXXX=92. This will eliminate the config and clean stages, which will do what you want. Warner