Skip to content
Snippets Groups Projects
Commit 87c26464 authored by John Hodge's avatar John Hodge
Browse files

Documentaion update (thanks klange)

parent b7a55f71
Branches
Tags
No related merge requests found
...@@ -12,9 +12,9 @@ _LATEST := $(lastword $(_VERS)) ...@@ -12,9 +12,9 @@ _LATEST := $(lastword $(_VERS))
ifeq ($(ACPICAVER),) ifeq ($(ACPICAVER),)
ifeq ($(_LATEST),) ifeq ($(_LATEST),)
$(warning Unable to find an archive matching acpica-unix-%.tar.gz) $(warning Unable to find an archive matching acpica-unix-%.tar.gz in Externals/ACPICA)
$(warning Go to https://www.acpica.org/downloads/ to get it) $(warning Go to https://www.acpica.org/downloads/ to get it)
$(error No ACPICA archive found) $(error No ACPICA archive found, disable ACPI with 'USE_ACPICA=0')
endif endif
ifneq ($(_LATEST),$(_VERS)) ifneq ($(_LATEST),$(_VERS))
......
...@@ -46,21 +46,18 @@ recompilation. ...@@ -46,21 +46,18 @@ recompilation.
Build configuration settings (compiler options, module selection) Build configuration settings (compiler options, module selection)
=== Building === === Building ===
Required Tools: GNU Toolchain (GCC,Gas,binutils), NASM, mtools, PHP Required Tools: GNU cross Toolchain (GCC,Gas,binutils), NASM, mtools, PHP
Compiling Acess is relatively simple (at the moment) > x86 uses i586-elf
First edit /Makefile.cfg and set the build programs (making sure they match > x86_64 uses x86_64-none-elf
the architecture you are building for). > armv7 uses arm-eabi
Edit the FILESYSTEMS variable to alter what filesystems are comipled in
(see /Kernel/vfs/fs for what filesystems are included).
MODULES defines what modules should be statically linked with the kernel
(see /Modules for a list)
Set the destination install directory (DISTROOT). 1. Edit Makefile.user.cfg and set options (a few are listed below, see Makefile.cfg for the rest)
> DISTROOT : Location to install to (by default this is an existing FAT Floppy image)
> xCP/xMKDIR : Commands to call when installing
2. Either download a copy of ACPICA to Externals/ACPICA or set 'USE_ACPICA=0' before running make
3. Run `make all install` (default architecture is x86)
Now you can compile the kernel and usermode applications by calling make Other make invocations
in the source root.
e.g.
`make` `make`
- Build and install the kernel (x86) - Build and install the kernel (x86)
`PLATFORM=smp make` `PLATFORM=smp make`
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment