From owner-freebsd-arm@freebsd.org Fri Oct 20 19:00:25 2017 Return-Path: Delivered-To: freebsd-arm@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 36757E3D654 for ; Fri, 20 Oct 2017 19:00:25 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-161.reflexion.net [208.70.211.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D8EB92E97 for ; Fri, 20 Oct 2017 19:00:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 23662 invoked from network); 20 Oct 2017 19:00:23 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 20 Oct 2017 19:00:23 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Fri, 20 Oct 2017 15:00:23 -0400 (EDT) Received: (qmail 12702 invoked from network); 20 Oct 2017 19:00:22 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 20 Oct 2017 19:00:22 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 510CAEC8804; Fri, 20 Oct 2017 12:00:22 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Spot of bother compiling an ARMv8 kernel... Date: Fri, 20 Oct 2017 12:00:21 -0700 References: <63A81F33-4DAF-45A3-A19A-F83FE63DB331@dsl-only.net> <20171020203915.e92a6281a64eb30eca7f5457@getmail.no> To: Torfinn Ingolfsen , freebsd-arm@FreeBSD.org, FreeBSD Toolchain In-Reply-To: <20171020203915.e92a6281a64eb30eca7f5457@getmail.no> Message-Id: <762393B5-E557-4F49-9CB0-41F9470BC623@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 19:00:25 -0000 On 2017-Oct-20, at 11:39 AM, Torfinn Ingolfsen wrote: > On Thu, 19 Oct 2017 22:32:10 -0700 > Mark Millard wrote: >=20 >>=20 >> make . . . buildworld buildkernel >>=20 >=20 > As a general thing; isn't buildworld before buildkernel a requirement = on FreeBSD? There is (supposed to be) a faster alternative that is probably of interest primarily to folks working in/on the kernel or that have reasons to only build the kernel (or multiple variations of the kernel): make . . . kernel-toolchain make . . . buildkernel /usr/src/Makefile has the comment lines that I quote below, look at the last that I quote: # buildworld - Rebuild *everything*, including glue to help do # upgrades. # installworld - Install everything built by "buildworld". # world - buildworld + installworld, no kernel. # buildkernel - Rebuild the kernel and the kernel-modules. # installkernel - Install the kernel and the kernel-modules. # installkernel.debug # reinstallkernel - Reinstall the kernel and the kernel-modules. # reinstallkernel.debug # kernel - buildkernel + installkernel. # kernel-toolchain - Builds the subset of world necessary to build a = kernel Right now kernel-toolchain and the aarch64 kernel source are not matched sufficiently for the sequence to work. =3D=3D=3D Mark Millard markmi at dsl-only.net