forked from brho/akaros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakelocal.template
40 lines (37 loc) · 990 Bytes
/
Makelocal.template
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
# Userspace configuration parameters
#CFLAGS_USER += -DCONFIG_APPSERVER
#CFLAGS_USER += -DCONFIG_SYSCALL_TRAP
#CFLAGS_USER += -g
#CFLAGS_TESTS += -static
export CFLAGS_USER CFLAGS_TESTS
# brho's custom targets. Customize to your system.
#$(OBJDIR)/kern/.kvm.touch: $(KERNEL_OBJ)
# @echo " (KVM) Copying to mnt/hdd"
# $(Q)cp $^ mnt/hdd/kernel
# @sync
# @touch $@
#
#kvm: $(OBJDIR)/kern/.kvm.touch ;
#
#$(OBJDIR)/kern/.usb.touch: $(KERNEL_OBJ)
# @echo " (USB) Copying to /dev/sdc4"
# $(Q)mount /dev/sdc4
# $(Q)cp $^ /mnt/pornstick/akaros
# @sync
# $(Q)umount /mnt/pornstick
# @touch $@
#
#usb: $(OBJDIR)/kern/.usb.touch ;
#
#$(OBJDIR)/kern/.pxe.touch: $(CMP_KERNEL_OBJ)
# @echo " (PXE) Copying to Watson"
# $(Q)scp $^ watson.millennium.berkeley.edu:/tftpboot/akaros/akaros-kernel.gz
# @touch $@
#
#pxe: $(OBJDIR)/kern/.pxe.touch ;
# risc-v functional simulator
rvfs: all
fesvr -p$(NP) -nopk $(KERNEL_OBJ)
rvfsd: all
fesvr -d -p$(NP) -nopk $(KERNEL_OBJ)
PHONY += fs fsd hw rvfs rvfsd