]> rtime.felk.cvut.cz Git - l4.git/blob - l4/conf/Makeconf.boot.example
update: sync
[l4.git] / l4 / conf / Makeconf.boot.example
1 # This file is an example for defining configurations for different boot
2 # methods:
3 #   - QEMU (qemu)
4 #   - Fiasco-UX (ux)
5 #   - Image mode (image)
6 #   - ISO images (grub1iso, grub2iso)
7 #   - VirtualBox
8 #   - Fastboot
9 #
10 # This is a make snippet.
11 #
12 # Copy this example file to Makeconf.boot in the same directory.
13 #
14 #
15 #
16 # Generic options:
17 #
18 # Search path for modules, such as binaries, libraries, kernel, configuration
19 # files or any other data file you might want to load. Note that the bin and
20 # lib directories of the build-tree are automatically added to the search
21 # path.
22 # MODULE_SEARCH_PATH = /path/to/cfgs:/path/to/foo:..
23 #
24 # 'image' just builds what's configured:
25 # - default: just ELF
26 # - BOOTSTRAP_DO_RAW_IMAGE=y: additionally raw images
27 # - BOOTSTRAP_DO_UIMAGE=y:    additionally uImages
28 #
29 # Other bootstrap options (see also pkg/bootstrap/server/src/Make.rules):
30 # - BOOTSTRAP_CMDLINE: default cmdline
31 # - BOOTSTRAP_UIMAGE_COMPRESSION: set to none, gzip, or bzip2
32 #
33 #
34 # QEMU: Specific configuration for 'qemu' target (make qemu E=xxx'):
35 #
36 # Add fiasco build directory to MODULE_SEARCH_PATH
37
38 qemu: MODULE_SEARCH_PATH += /path/to/fiasco-build
39
40 # Optional options for QEMU, but setting '-serial stdio' is recommended
41 QEMU_OPTIONS       = -serial stdio
42 #QEMU_OPTIONS      = -nographic
43 #QEMU_OPTIONS-arm += -M realview-eb -m 256
44 QEMU_OPTIONS      += $(QEMU_OPTIONS-$(ARCH))
45
46 # The path to the QEMU binary - optional
47 #QEMU_PATH-x86   = /path/to/qemu
48 #QEMU_PATH-amd64 = /path/to/qemu-system-x86_64
49 #QEMU_PATH       = $(QEMU_PATH-$(ARCH))
50
51
52 # Fiasco-UX: Specific configuration for 'ux' target ('make ux E=xxx'):
53 #
54 # Add Fiasco-UX build directory to MODULE_SEARCH_PATH
55
56 ux: MODULE_SEARCH_PATH += /path/to/fiasco-ux-build
57
58 # Additional (optional) variables:
59 #  UX_OPTIONS: Options for Fiasco-UX, such as -m
60 #  UX_GFX:     Graphical console resolution and colordepth, e.g.:
61 #              UX_GFX=800x600@16
62 #  UX_GFX_CMD: Path to ux_con binary, default is to search in the
63 #              UX_SEARCH_PATH
64 #  UX_NET:     Enable network if set, e.g.: UX_NET=y
65 #  UX_NET_CMD: Path to ux_net binary, default is to search in the
66 #              UX_SEARCH_PATH 
67
68 UX_OPTIONS     = -m 128
69
70 # Search path for other make targets:
71 # grub1iso grub2iso: MODULE_SEARCH_PATH += /path/to/fiasco-build
72 # image %image: MODULE_SEARCH_PATH += /path/to/fiasco-build
73
74 # VirtualBox
75 #
76 # To use VirtualBox create a VM in VirtualBox and set the name of the VM in
77 # 'VBOX_VM'. The 'vbox' target uses an ISO image generating target to generate
78 # an ISO and use that with VirtualBox. 
79 #
80 # Required variables:
81 #  VBOX_VM:        Name of the VM to use.
82 #
83 # Additional (optional) variables:
84 #  VBOX_ISOTARGET: grub1iso or grub2iso (grub2iso is the default)
85 #  VBOX_OPTIONS:   Additional options (see VBoxSDL --help)
86 VBOX_VM                = L4
87 VBOX_ISOTARGET         = grub1iso
88 #VBOX_OPTIONS          += --memory 256
89
90 # Fastboot
91 # FASTBOOT_BOOT_CMD = path/to/fastboot boot