-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.mk
52 lines (39 loc) · 1.36 KB
/
config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## Project configuration
# CPU architecture (only x86_64 supported for now)
ARCH := x86_64
# Output directory
O := o.$(ARCH)
# VMM/guest configuration
VMM := $(O)/monitor.bin
KERNEL := $(O)/nistar.bin
APPEND :=
INITRD := $(O)/nistar/user/initrd.cpio
# Number of CPUs used in simulation
NR_CPUS := 1
# configuration used by Bochs for simulation
BOCHS := bochs
BOCHS_CPU := broadwell_ult
# configuration used by QEMU for simulation
# pmu=off: workaround for QEMU/KVM crash when running in VMware
# https://bugs.launchpad.net/qemu/+bug/1661386
QEMU := qemu-system-$(ARCH)
QEMU_ACCEL := kvm:hvf:tcg
QEMU_CPU := max,pmu=off
QEMU_IOMMU := intel-iommu
QEMU_NIC := e1000
QEMU_USE_VIRTIO := 0
# Use ccache for faster build times
USE_CCACHE := 0
GIT_CLEAN := 0
# Force clang as compiler (default 1 on macOS, 0 on linux)
# USE_CLANG := 1
# Override tool prefix
# TOOLPREFIX := $(ARCH)-linux-gnu-
# suppress "Entering directory" and "Leaving directory" messages
MAKEFLAGS += --no-print-directory
# Default IPXE host and port
IPXE_CHAINLOADER_HOST := lukes-macbook-pro.dyn.cs.washington.edu
IPXE_HOST := lukes-macbook-pro.dyn.cs.washington.edu
IPXE_PORT := 8081
# overwrite using local settings
-include local.mk