Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2017 12:00:21 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>, freebsd-arm@FreeBSD.org, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: Spot of bother compiling an ARMv8 kernel...
Message-ID:  <762393B5-E557-4F49-9CB0-41F9470BC623@dsl-only.net>
In-Reply-To: <20171020203915.e92a6281a64eb30eca7f5457@getmail.no>
References:  <EB2BA2D9-8242-44D2-9028-B054CB378922@brawn.org> <63A81F33-4DAF-45A3-A19A-F83FE63DB331@dsl-only.net> <20171020203915.e92a6281a64eb30eca7f5457@getmail.no>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2017-Oct-20, at 11:39 AM, Torfinn Ingolfsen <torfinn.ingolfsen at =
getmail.no> wrote:

> On Thu, 19 Oct 2017 22:32:10 -0700
> Mark Millard <markmi at dsl-only.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?762393B5-E557-4F49-9CB0-41F9470BC623>