Spot of bother compiling an ARMv8 kernel...

Mark Millard markmi at dsl-only.net
Fri Oct 20 19:00:25 UTC 2017


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:
> 
>> 
>> make . . . buildworld buildkernel
>> 
> 
> 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.

===
Mark Millard
markmi at dsl-only.net



More information about the freebsd-arm mailing list