Files
foc/l4/conf/Makeconf.boot.example
2017-05-02 15:25:27 +02:00

101 lines
3.4 KiB
Plaintext

# This file is an example for defining configurations for different boot
# methods:
# - QEMU (qemu)
# - Fiasco-UX (ux)
# - Image mode (image)
# - ISO images (grub1iso, grub2iso)
# - VirtualBox
# - Fastboot
#
# This is a make snippet.
#
# Copy this example file to Makeconf.boot in the same directory.
#
# #
# Generic options:
#
# Search path for modules, such as binaries, libraries, kernel, configuration
# files or any other data file you might want to load. Note that the bin and
# lib directories of the build-tree are automatically added to the search
# path.
# MODULE_SEARCH_PATH = /path/to/cfgs:/path/to/foo:..
#
# For additional image buliding options see the header of
# pkg/bootstrap/server/src/Make.rules
#
#
# QEMU: Specific configuration for 'qemu' target (make qemu E=xxx'):
#
# Add fiasco build directory to MODULE_SEARCH_PATH
qemu: MODULE_SEARCH_PATH += /path/to/fiasco-build
# Optional options for QEMU, but setting '-serial stdio' is recommended
QEMU_OPTIONS ?= -serial stdio
#QEMU_OPTIONS ?= -nographic
QEMU_OPTIONS-arm-rv += -M realview-eb -m 256
#QEMU_OPTIONS-arm-rv += -cpu arm926
QEMU_OPTIONS-arm-rv += -cpu arm1176
#QEMU_OPTIONS-arm-rv += -cpu cortex-a8
#QEMU_OPTIONS-arm-rv += -cpu cortex-a9
QEMU_OPTIONS-arm-integrator += -M integratorcp -m 256
#QEMU_OPTIONS-arm-integrator += -cpu arm1176
QEMU_OPTIONS-arm-rv_vexpress += -M vexpress-a9 -m 1024 -cpu cortex-a9 -smp 4
QEMU_OPTIONS-arm-rv_vexpress_a15 += -M vexpress-a15 -m 2047 -cpu cortex-a15 \
-smp 4
QEMU_OPTIONS-arm-rv_pbx += realview-pbx-a9 -m 512 -cpu cortex-a9 -smp 4
QEMU_OPTIONS-mips-malta += -M malta -m 256 -cpu P5600
QEMU_OPTIONS-arm += $(QEMU_OPTIONS-arm-$(PLATFORM_TYPE))
QEMU_OPTIONS-mips += $(QEMU_OPTIONS-mips-$(PLATFORM_TYPE))
QEMU_OPTIONS += $(QEMU_OPTIONS-$(ARCH))
# The path to the QEMU binary - optional
#QEMU_PATH-x86 = /path/to/qemu
#QEMU_PATH-amd64 = /path/to/qemu-system-x86_64
#QEMU_PATH = $(QEMU_PATH-$(ARCH))
# Fiasco-UX: Specific configuration for 'ux' target ('make ux E=xxx'):
#
# Add Fiasco-UX build directory to MODULE_SEARCH_PATH
ux: MODULE_SEARCH_PATH += /path/to/fiasco-ux-build
# Additional (optional) variables:
# UX_OPTIONS: Options for Fiasco-UX, such as -m
# UX_GFX: Graphical console resolution and colordepth, e.g.:
# UX_GFX=800x600@16
# UX_GFX_CMD: Path to ux_con binary, default is to search in the
# UX_SEARCH_PATH
# UX_NET: Enable network if set, e.g.: UX_NET=y
# UX_NET_CMD: Path to ux_net binary, default is to search in the
# UX_SEARCH_PATH
UX_OPTIONS = -m 128
# Search path for other make targets:
# grub1iso grub2iso: MODULE_SEARCH_PATH += /path/to/fiasco-build
# %image: MODULE_SEARCH_PATH += /path/to/fiasco-build
# VirtualBox
#
# To use VirtualBox create a VM in VirtualBox and set the name of the VM in
# 'VBOX_VM'. The 'vbox' target uses an ISO image generating target to generate
# an ISO and use that with VirtualBox.
#
# Required variables:
# VBOX_VM: Name of the VM to use.
#
# Additional (optional) variables:
# VBOX_ISOTARGET: grub1iso or grub2iso (grub2iso is the default)
# VBOX_OPTIONS: Additional options (see VBoxSDL --help)
VBOX_VM = L4
VBOX_ISOTARGET = grub1iso
#VBOX_OPTIONS += --memory 256
# Fastboot
# FASTBOOT_BOOT_CMD = path/to/fastboot boot