Bootstrapping Phase During this phase, you will create a number of necessary tools: You will create a toolchain to use on your host to compile software for the target. This is called a "cross-compilation" toolchain. You will build an essential set of software to bootstrap the target, including a toolchain to use on the target to compile software directly on the target. You will configure a kernel to boot on the target. You will then create a bootable image that you will use to boot the target into Adélie Linux.
Ensuring the musl C library is ported Before you begin porting Adélie Linux to your target, you must ensure that the musl C library has been ported to it. You can view a list of supported architectures for musl on the online musl Git repository, or in the arch/ directory of the musl source code found on the Adélie Linux Platform Group Resource Disc. If your target is not yet supported by musl, you will need to port it first. Porting the musl C library is beyond the scope of this guide. If you have an Internet connection, you may consult the official musl porting documentation.
Creating the cross-compilation toolchain In this section, you will: Add the necessary information to abuild and APKBUILDs for essential software; Install the amended abuild to your host computer; and Create the initial cross-compilation toolchain, allowing you to build packages for your target. Please make sure that you are at your host computer's terminal before continuing.